Posts Tagged commands
Decompress all files on an NTFS Volume
Posted by inanis in Computer Fixes on June 8, 2007
To Decompress all files on an NTFS Volume
compact /u /s:X:\ /i /f /a /q > C:\compression.log
where X: is the drive to decompress.
Unable to start RPC Service
Posted by inanis in Computer Fixes on May 22, 2007
If you get Could not Start the Remote Procedure Call (RPC) Service. Error 2: cannot find the file specified, it’s probably because you are missing svchost.exe from the C:\windows\system32 directory. Running sfc /scannow or copying the file from a working machine should do the trick.
For your security, some settings are controlled by Group Policy
Posted by inanis in Computer Fixes on May 17, 2007
Nifty trick found today while trying to diagnose a Windows firewall issue, getting error “For your security, some settings are controlled by Group Policy”
- Click Start, Run and type Regedit.exe
- Navigate to the following location:
HKEY_LOCAL_MACHINE \ SOFTWARE \Policies \ Microsoft \ WindowsFirewall
- Backup the key and then delete the WindowsFirewall branch.
- Close Regedit.exe and restart Windows.
Thanks to this site.
WinXP – Grant full control on all items on the HDD
Posted by inanis in Computer Fixes on May 1, 2007
Picked up a cool trick, using CACLS, you can forcefully set full control to the everyone account on everything on the HDD. This is great if you are an Administrator, but you still cant get into some files, or the “Take Ownership/Replace permissions on child objects” trick doesn’t work properly, or you are having some sort of generic “access denied”, “permission denied”, “unable to open” or “interface is unknown” issues.
cacls C:\ /g everyone:F /c /t
Sony Rootkit, sucks too.
Posted by inanis in Computer Fixes on April 30, 2007
So, for the first time in my career today, I had to remove the Sony DRM Rootkit. It hides any files, folders, or registry keys starting in $sys$. Nasty. Here is how you remove it. Quick Fix:
- Run cmd /k sc delete $sys$aries
- Reboot
- Delete anything starting in $sys$
All clean.