Thanks, Chip. I found most of the system variables in
[tt]
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment[/tt]
and[tt]
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\...
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\...[/tt]
NT doesn't mind if you modify these at the cmd.exe prompt (luckily, the changes only last for the current cmd session). I wonder how Windows would respond if these variables were modified through the registry...
Well, I believe you are right. There probably isn't a practical way to restrict access to the settings.
Neat thought, though.
Alt255@Vorpalcom.Intranets.com
"What this country needs is more free speech worth listening to."[tt]
Hansell B. Duckett[/tt]
I thought for sure that the user portion was stored under HKEY_CURRENT_USER. Maybe on Win2k -- I'll check when I get home tonight (I'm on NT 4 at work).
But it's good that you found the system variables -- probably should only use the ones under "Current Control Set". The others are probably for other system configurations (left over from Windows Setup, most likely)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.