A
Anthony Morris
Trying to learn to create custom ADM files and working with the
following simple example. Everything works like a champ for the
"Hiding drives" portion. However, the setting for the proxy server
appears blank (No chance to choose enable or disable). Simply
changing the Keyname to match the one for the drives, makes it appear
but that obviously won't change the registry key I want. What am I
doing wrong?
------------------------
CATEGORY !!Shell
CATEGORY "Proxy"
POLICY !!PROXY1
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet
Settings"
VALUENAME "AutoConfigURL"
VALUEON http://proxy1.mysite.net/proxy.pac
VALUEOFF http://proxy2.mysite.net/proxy.pac
END POLICY
END CATEGORY
CATEGORY !!Restrictions
POLICY !!HideDrives
KEYNAME Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
VALUENAME "NoDrives"
VALUEON NUMERIC 67108863
VALUEOFF NUMERIC 0
END POLICY
END CATEGORY
END CATEGORY
[STRINGS]
PROXY1="Turn on Proxy server 1"
RESTRICTIONS="Customized settings"
HIDEDRIVES="Hide the drives"
SHELL="My site"
following simple example. Everything works like a champ for the
"Hiding drives" portion. However, the setting for the proxy server
appears blank (No chance to choose enable or disable). Simply
changing the Keyname to match the one for the drives, makes it appear
but that obviously won't change the registry key I want. What am I
doing wrong?
------------------------
CATEGORY !!Shell
CATEGORY "Proxy"
POLICY !!PROXY1
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet
Settings"
VALUENAME "AutoConfigURL"
VALUEON http://proxy1.mysite.net/proxy.pac
VALUEOFF http://proxy2.mysite.net/proxy.pac
END POLICY
END CATEGORY
CATEGORY !!Restrictions
POLICY !!HideDrives
KEYNAME Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
VALUENAME "NoDrives"
VALUEON NUMERIC 67108863
VALUEOFF NUMERIC 0
END POLICY
END CATEGORY
END CATEGORY
[STRINGS]
PROXY1="Turn on Proxy server 1"
RESTRICTIONS="Customized settings"
HIDEDRIVES="Hide the drives"
SHELL="My site"