Tag Archives: Windows XP

About the Windows Registry

About the Registry Windows.

List scheduled tasks on Windows 2003/XP using schtasks into CSV

schtasks /query /s server1 /fo CSV

Proxycfg.exe

proxycfg

This command displays the current WinHTTP proxy settings.

proxycfg -d

This command specifies that all HTTP and HTTPS servers should be accessed directly. Use this command if there is no proxy server.

proxycfg -p proxy-server-list optional-bypass-list

This command specifies one or more proxy servers, and an optional list of hosts that should be accessed directly. If a proxy server is not specified for a given protocol and that server is not in the bypass list, the -p option specifies that the server cannot be accessed at all.

proxycfg -d -p proxy-server-list optional-bypass-list

This command specifies one or more proxy servers, and an optional list of hosts that should be accessed directly. If a proxy server is not specified for the given protocol, the -d option specifies that the server should be accessed directly instead.

proxycfg -u

This command imports the Internet Explorer proxy settings of the current user. WinHTTP does not support auto-discovery and configuration script-based proxy settings.

Examples

The following is the most common command used with the proxycfg.exe utility. This command specifies to use the proxy server named “itgproxy” to access both HTTP and HTTPS servers, and also bypass any host names that do not contain a period. In this case, the -d option has no effect.

proxycfg -d -p itgproxy "<local>"

Compare the previous command to the following command which specifies to use the server named “itgproxy” to access both HTTP and HTTPS servers, and not to bypass any servers.

proxycfg -p itgproxy

The following is an example of a more complex command used by the proxycfg.exe utility. This command specifies to use the server named “http_proxy” to access HTTP servers and the server named “https_proxy” to access HTTPS servers. This command also specifies that local intranet sites (for example, host names that do not contain a period) and any site in the “*.microsoft.com” domain bypass the proxy.

proxycfg -p "http=http_proxy https=https_proxy" "<local>;*.microsoft.com"

Source:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms761351(v=vs.85).aspx

smsagent

Tips, tricks and time-savers for the Windows and ConfigMgr administrator

To The Point

Anything about Technology and Business

Brian's Power Windows Blog

Microsoft in the Enterprise. Windows, Hyper-V, Exchange, SQL, and more!

PowerScripting Podcast

Shownotes and links for the PowerScripting Podcast, a podcast to help people learn Windows Powershell

Learn Powershell | Achieve More

What is this Powershell of which you speak?