|Further to my #3. I think you are barking up the wrong tree looking for a script. A reg file is the normal way but I believe the entries are protected (locked). A script will hit the same issue. Here is some more information based on a 2010 XP post of mine:|
Download PsTools from here (new link):
The file you want (inside zip) is 'psexec.exe'
For convenience I put mine in a sub-folder 'C:\Program Files\PsExec'.
I started it with a shortcut (named Regedit Unrestricted) using this as its target:
"C:\Program Files\PsExec\psexec.exe" -i -d -s c:\windows\regedit.exe
This worked for me in XP. In Windows 8 (just checked) you must run the batch file shortcut as Administrator - right click it and go to Compatibility tab if you want this permanent.
Take care with what you are deleting.
Always pop back and let us know the outcome - thanks
message edited by Derek