This batch ?
Originally Posted by matrixmainframe
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f
This batch is not applicable for Vista only for olders system
1.This batch doesn't restore original permissions in system but give for Administrators group much more permission than defaultly should they have,using it you risk even infection.
windows update error 80070005
2.Many times this script not work properly on modern system,it doesn't estimate many paths
You've used atom bomb on your own system -desparation is not good adviser.
-uninstall all 3p security software -many times there are false alerts about permissions and it is only caused by locked process by any 3p security software
-diagnose your system by using this MS Tool Windows Live OneCare safety scanner: Free online tool for PC health and safety
-use also these tools:
How do I restore security settings to the default settings?
Rizone Security Restore 0.2.2.228 | Rizone Technologies
(but please note none of tools revert changes made by your batch file,if I fix your WU error then I'll try restore original permissions in your system)
you can also try reset WU in aggressive mode How do I reset Windows Update components?
It looks like you've had previous times some issues with WMP and you have imported some fix for WMP for Vista without any service pack,not for Vista SP1.
Interestingly I cannot run Windows Media Player 11 either. When I try to run it I get the following error message "The file wmplayer.exe has a version number of 11.0.6001.7000 where 11.0.6001.7008 was expected. WMP is not installed properly and must be re-installed.
Probably you have some errors in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup\Installed Versions and in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\PlayerUpgrade
Paste to notepad
save as FIX.REG file,import to registry (just double click on FIX.REG file) +restart.
Windows Registry Editor Version 5.00
You should import this fix before any attempts installing service packs,I suspect this error don't let you install service pack as well.
If really nothing help download & run Process Monitor Process Monitor
run Windows Update and next force your WU error,save log in Process Monitor in *.PML format,pack it and upload on rapidshare.com