Help with .reg file for w7

baconlover

Junior Member
Oct 15, 2013
1
0
0
Hello Anandtech!

I have written a .reg file and was wondering if it is correctly formatted and if it will do what I want it to.

Code:
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
@="explorer.exe"

I want the first 2 lines to delete the entire keys. The 3rd line I want to delete only the value attached to the key while the 4th line should add the value explorer.exe

Does this look right to you?

Thanks in advance!

: )
 

akugami

Diamond Member
Feb 14, 2005
6,210
2,552
136
I think you might get a better response in the programming sub-forum.