Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Greetings. I have a requirement to retrieve the default user's Internet Explore Proxy Auto Config URL setting from Windows Server 2008.

For the current user, the key is found at "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL".

Does anyone know how to retrieve this value for the default user?


share|improve this question
up vote 1 down vote accepted

If by "Default User" you mean "the user profile that will be used as the template when a user who otherwise doesn't have a cached or roaming profile logs-on" then you're talking about mounting the "NTUSER.DAT" hive from the "C:\Users\Default" directory and searching it.

There is a "HKEY_USERS.Default" in the registry, but that's NOT the registry used as a template for newly-created profiles. (It's actually the HKEY_CURRENT_USER hive for the SYSTEM context and really, really unfortunately named...)

The "REG.EXE" command can be used (with the "LOAD" argument) to load the hive in that file into the registry, then you can use your run-of-the-mill VBScript functions to access it. Afer you're done, you'll need to do an "UNLOAD" with the "REG" command to unload the hive.

share|improve this answer
This worked perfectly, thanks Evan. – MHGL Feb 5 '10 at 17:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.