Share via

How do I "go offline" from the commandline?

Anonymous
2011-10-29T14:25:10+00:00

I have programs that need internet explorer and outlook express to be in the offline mode in order for them to work correctly. Currently, I click on Files>Work Offline before starting my programs. I was wondering if it was possible to do the same via the command line.

John

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-10-31T12:54:41+00:00

Digging around a bit I found this article:  http://support.microsoft.com/kb/195730

What you can try is go to to

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

in regedit and backup the registry key (read the Help file for regedit to understand how to use it, if you haven't before).  Then prior to running any programs you can try to merge that key and see if then, when you start IE or OE, they start in Offline mode. 

The value name is for the "GlobalUserOffline" and the value of 0 means online and 1 means offline. 

See if that works.  If not, you may have to do it work HKEY_USERS as the article describes and then you'll have to figure out the proper SID, but then you can do the same as I suggest above for that key and it should work.

steve

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-10-30T09:28:55+00:00

    What I mean is, a need to know a command which, when fired through the command line in XP, makes me go offline. For instance, in Outlook Express you can click on Files>Work Offline. I want the same to be done by means of a command. Thanks

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-10-30T08:26:52+00:00

    http://kb.mozillazine.org/Offline_folders

    For more information about changes to the functionality of MS-DOS commands, new command-line tools, command shell functionality, configuring the command prompt, and automating commmand-line tasks, see Command-line reference

    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

    Was this answer helpful?

    0 comments No comments