Category Archives: Windows Security

Shrink/reduce size of WinSxS folder on Windows 7 and gain gigabytes of free space

WinSxS folder contains a copy of protected system files and DLLs. Windows Resource Protection mechanism checks the integrity of the protected system files periodically and  re-installs any protected file from this folder if its integrity could not be verified due … Continue reading

Posted in Windows Security | Tagged , , | 1 Comment

How to remove administrative shares in Windows XP, Vista and 7

In order to remove administrative shares in Windows, add the following two registry keys to the registry. To remove administrative shares for local administrator accounts, add the following key to the specified location; Hive: HKEY_LOCAL_MACHINE\ Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters Name: AutoShareWks Type: … Continue reading

Posted in Windows Security | Tagged , | Leave a comment

How to kill or stop a process from command prompt in Windows 7

In order to kill a process in Windows 7, first you should get its process id. To get it from command prompt, type the following command; netstat -ao Instead of listing all processes, you can filter the process list by … Continue reading

Posted in Windows Security | Tagged , , , , , , | Leave a comment

Robocopy – Copying files with file permissions (ACLs) and Importing file permissions / security information

If you have a file server in your corporate environment and want to move all files to another location with all security information / file permissions  (ACLs), you can use robocopy, a built-in tool which can be called simply from … Continue reading

Posted in Windows Security | Tagged , , , , , , , , , | 3 Comments