hullc65203
asked on
how to modify dword registry entry in logon script
What's the synax to change a dword registry entry in a login script? I've got:
[HKEY_LOCAL_MACHINE...}
"State"=
If I use 256 it doesn't change the entry. If I use "256" it replaces the key with a REG_SZ key.
I need it to be a hex entry of 256
Thanks!
[HKEY_LOCAL_MACHINE...}
"State"=
If I use 256 it doesn't change the entry. If I use "256" it replaces the key with a REG_SZ key.
I need it to be a hex entry of 256
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That did the trick. Thanks!
Thanks for the points!
I'm glad I was able to assist you.
Cheers!
:o)
Bartender_1
I'm glad I was able to assist you.
Cheers!
:o)
Bartender_1
then create a batch file with this in it:
reg import <filename.reg>
If you need the reg command, you can download one from here:
http://www.petri.co.il/download_free_reskit_tools.htm
If you need the hexidecimal for "256" then you need to use: 00000100
Hope this helps!
:o)
Bartender_1