PC Review


Reply
Thread Tools Rate Thread

automatically updating reg_binary

 
 
Peter Moriarty
Guest
Posts: n/a
 
      28th Mar 2004
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


 
Reply With Quote
 
 
 
 
=?Utf-8?B?QXVzdGluIE0uIEhvcnN0?=
Guest
Posts: n/a
 
      28th Mar 2004
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/ResK...load/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
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: REG_BINARY to readable format =?Utf-8?B?aWxhdmFh?= Microsoft Outlook Form Programming 0 6th Jan 2007 10:15 AM
REG_BINARY to readable format prince Microsoft Outlook Discussion 2 5th Jan 2007 04:09 PM
hex pairs and reg_binary =?Utf-8?B?ZGF2b3Vk?= Windows XP General 3 4th Dec 2005 08:54 PM
automatically updating reg_binary Peter Moriarty Microsoft Windows 2000 Registry Archive 2 28th Mar 2004 10:21 PM
automatically updating reg_binary Peter Moriarty Microsoft Windows 2000 Registry Archive 0 28th Mar 2004 02:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:24 AM.