PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Registry
automatically updating reg_binary
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Registry
automatically updating reg_binary
![]() |
automatically updating reg_binary |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I am looking for a way to automatically add a value to
reg_binary key in HKEY_CURRENT_USER\Printers\DevModePerUser This value adds a user code for a print driver. I can manually edit the key to add the value and the resultant code that is send to the printer, however I would like to add it automatically at network login. Any idea? Much appreciated. Peter |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Use a logon script (.bat or .cmd)
The batch script requires Microsoft's Reg.exe program (included with XP) It's available on the Windows 2000 Resource Kit, or a http://www.dynawell.com/support/ResKit/win2k.as http://www.dynawell.com/support/Res...nload/w2kreg.as http://202.138.126.39/cas/download.ht http://www.petri.co.il/download_free_reskit_tools.ht The following example adds a value: "valuename" data: "1 Change the "value" and "data" to meet your requirements ::::: START OF BATCH FILE (2 Lines) :::: @ECHO OF REG ADD "HKEY_CURRENT_USER\Printers\DevModePerUser" /V valuename /T REG_BINARY /D 1 / :::::: END OF BATCH FILE (2 Lines) ::::: Austin M. Horst |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

