Windows 2k Registry Key from Command Prompt

K

Keith Wisner

Hello.
I have to check to see witch computer are still set to use
a proxy server and witch ones are not.
I would like to List the registry Key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Internet Settings\ the ProxyEnable Key from a command
prompt. So I can write a batch file to check all the
computer. I would like to view this string remotely but if
I can not at least localy.
If you can please let me know the best way to do this.
Thanks
 
M

Mark V

In said:
Hello.
I have to check to see witch computer are still set to use
a proxy server and witch ones are not.
I would like to List the registry Key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Internet Settings\ the ProxyEnable Key from a command
prompt. So I can write a batch file to check all the
computer. I would like to view this string remotely but if
I can not at least localy.
If you can please let me know the best way to do this.

One local way is to execute reg.exe. REG is in the installable
Support Tools on the OS CD.
Lines will wrap!:
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Internet Settings" /v "ProxyEnable"

returns:
! REG.EXE VERSION 2.0

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Internet Settings
ProxyEnable REG_DWORD 0x0


Another would be to use
regedit.exe /e
run under the user's account to export to a .reg file for futher
processing.
regedit /e "<Drive:>\FolderName\FileName.reg" "KeyPath"

Some remote execution options may not report on the desired profile's
value.

Domain? AD? GPO? LoginScripts?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top