Associate
- Joined
- 27 Feb 2006
- Posts
- 1,750
- Location
- Normanton
I need a script that will look at this key and replace values in the session data key.
HKEY_LOCAL_MACHINE\Software\Web Filtering\%username.Domain\Session Data\
The thing is for each user profile on the PC there is a different %username.domain key
eg
HKEY_LOCAL_MACHINE\Software\Web Filtering\test1.RSG\Session Data\
HKEY_LOCAL_MACHINE\Software\Web Filtering\test2.RSG\Session Data\
HKEY_LOCAL_MACHINE\Software\Web Filtering\test3.RSG\Session Data\
How can I do a batch file or start up script to go through all the different profile keys and replace certain values in each profiles session data key?
For example this is a reg export of what changes I want to make to test1.RSG but I also want to make the changes to all the profile keys on the computer.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Web Filtering\test1.RSG\Session Data]
"UserName"=""
"Password"=hex:
"AuthenticationCode"=hex:
"ProcessUploadURL"="/webfilter/services/processlist.php"
"ConnectionListURL"="/webfilter/services/connectionlist.php"
"PrimeLoginURL"="/webfilter/services/webreq.php"
"RemoteProxyServerAddress"="wg.uk.wrproxy.com"
"RemoteProxyServerPort"="3128"
"LocalProxyPort"="3128"
"ConnectionList"=""
"EnablePrimeLogin"=dword:00000001
"EnableCyberCafeMode"=dword:00000000
"AllowProcessUpdate"=dword:00000000
"ServiceURL"="http://weblogin1.webroot.com"
"ObtainedPrimingURLs"=dword:00000001
"AllowUnSafeBrowsing"=dword:00000000
"UpdateStamp"=dword:00000000
"CachingProxyServerAddress"=""
"CachingProxyServerPort"=""
"LoggingLevel"="everything"
"EnableAutoConfigScript"=dword:00000000
"AutoConfigScriptAddress"=""
"LocalAutoConfigScriptAddress"=""
Tried to explain as best I can hopefully someone will get what I mean!
Thanks
HKEY_LOCAL_MACHINE\Software\Web Filtering\%username.Domain\Session Data\
The thing is for each user profile on the PC there is a different %username.domain key
eg
HKEY_LOCAL_MACHINE\Software\Web Filtering\test1.RSG\Session Data\
HKEY_LOCAL_MACHINE\Software\Web Filtering\test2.RSG\Session Data\
HKEY_LOCAL_MACHINE\Software\Web Filtering\test3.RSG\Session Data\
How can I do a batch file or start up script to go through all the different profile keys and replace certain values in each profiles session data key?
For example this is a reg export of what changes I want to make to test1.RSG but I also want to make the changes to all the profile keys on the computer.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Web Filtering\test1.RSG\Session Data]
"UserName"=""
"Password"=hex:
"AuthenticationCode"=hex:
"ProcessUploadURL"="/webfilter/services/processlist.php"
"ConnectionListURL"="/webfilter/services/connectionlist.php"
"PrimeLoginURL"="/webfilter/services/webreq.php"
"RemoteProxyServerAddress"="wg.uk.wrproxy.com"
"RemoteProxyServerPort"="3128"
"LocalProxyPort"="3128"
"ConnectionList"=""
"EnablePrimeLogin"=dword:00000001
"EnableCyberCafeMode"=dword:00000000
"AllowProcessUpdate"=dword:00000000
"ServiceURL"="http://weblogin1.webroot.com"
"ObtainedPrimingURLs"=dword:00000001
"AllowUnSafeBrowsing"=dword:00000000
"UpdateStamp"=dword:00000000
"CachingProxyServerAddress"=""
"CachingProxyServerPort"=""
"LoggingLevel"="everything"
"EnableAutoConfigScript"=dword:00000000
"AutoConfigScriptAddress"=""
"LocalAutoConfigScriptAddress"=""
Tried to explain as best I can hopefully someone will get what I mean!
Thanks