I cobbled together a vbscript...
Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Microsoft\Exchange\Exchange Provider"
strEntryName = "Closest GC"
' read the registry entry
objReg.GetDWORDValue HKEY_CURRENT_USER,strKeyPath,strEntryName,dwValue
' if it does not exist, then create it
if isnull(dwValue) then
objReg.CreateKey HKEY_CURRENT_USER,strKeyPath
objReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strEntryName,1
end if
Matt
--
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of wade robinson
> Sent: Thursday, 19 February 2004 3:23 AM
> To: Exchange Discussions
> Subject: RE: Requesting data - but not exchange
>
>
> export the REG file were you made the change and import it
> using a logon script regedit "path to file" /s
>
> _________________________________________________________________
> List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
> Web Interface:
> http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&t
ext_mode=&lang=english
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at: Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Web Interface:
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang=english
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.