How can I "go offline" from the command line?

I have programs that need outlook and internet explore on purpose to be offline in order to make them work properly. Currently, I click on file > work offline before starting my programs. I was wondering if it was possible to do the same thing via the command line.

John

Search a bit, I found this article: http://support.microsoft.com/kb/195730

What you can try, is go to

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

in regedit and backup the registry key (read the regedit help file to understand how to use it, if you have not before).  Before you run all programs, you can try to merge this key and see if then when you start IE or OE, they start in offline mode.

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

See if it works.  If not, you may need to operate this HKEY_USERS that describes the article and then you need to find the appropriate SID, but then you can do as I suggest above for this key and it should work.

Steve

Tags: Windows

Similar Questions

  • How to stop a VCS from the command line?

    Is there any command that can turn off a VCS?

    Enter xCommand reboot?

    Kind regards...

    Hello

    I think that you can not stop VCS of CLI. To do this, you need to do through GUI under Maintenance contract - stop

    CLI, you can run the command xcommand restart to restart

    regds,

    Aman

  • An easy - how bounce a VPN tunnel from the command line?

    I think I know the answer, but must ensure. Is - what the command to bounce a VPN?

    his clear crypto ipsec peer

    Just to check - this command does not delete the config, but simply bounces, right?

    For customers of IOS VPN...

    your order will only cause me to generate a new key when I send more traffic... just tried...

    For the ASA VPN Clients we have

    ASA - fw # vpn - sessiondb logoff?

    all the all sessions

    proxy email Email-Proxy sessions

    specific session to Index the index

    specific sessions address IP IPAddress

    IPsec LAN-to-LAN l2l sessions

    name user name specific sessions

    sessions specific Protocol

    remote access remote IPsec sessions

    sessions of customer VPN SSL SVC

    Group-Tunnel tunnel-group sessions

    Mgmt of VPN VPN - lb load balancing sessions

    WebVPN WebVPN sessions

  • Add text from the command line to the output so that I can know how a command has been run when it generated the output

    This is a question and a suggestion...

    I would like to be able to precede or add if it works, the command line in the output file that creates the order.

    Example:

    I run dcdiag with switches, etc. and create an output file of results that gets saved or sent to a person or just put it in a folder. Of course, it could be that someone else ran the command and then sent the file. Anyway the problem is the same - what was the exact command line that has been executed to achieve these results?

    Question:

    Is there a known way to do from the command line that I can apply to any command?

    Suggestion:

    If this isn't the case, then I would suggest MS to include this function in all the BACK and PowerShell commands able to produce text output.

    If all goes well they monitor this forum and find it's a great idea and send me a check (pinky in my cheek) a meeellion of dollars. Then I and I alone will rule the world.

    Here you go:

    d:\>format i: / FS: NTFS > format.txt
    d:\>echo i format: / FS: NTFS > format.txt

  • How to upgrade an ESXi host from the command line

    Sorry for bumping an old thread. I'm new to ESXi. I'm under ESXi 5.5 build 1331820 and I am at a loss how to apply patches.

    Preferably, I would like to apply all the relevant patches through console (SSH). Can someone give me pointers how to do this? Thank you

    Moderator note (a.p.): branched to a new discussion of software patch to version 1331820?

    Welcome to the community,

    on how to patch a ESXi host from the command line, please see for example http://kb.vmware.com/kb/2008939

    Basically download you the latest hotfix package and install it using the command esxcli . That said, please make sure that your hardware is supported by the patch that you want to apply (see http://www.vmware.com/go/hcl). You can also do before installing the patch, is to do a "dry - run" to know what . VIBS are removed and which are installed by the patch. To do this add -dry - run to the esxcli command line.

    In the case where something goes wrong, you can revert to the previous state by pressing SHIFT-R , while the ESXi hosts begins the start-up.

    André

  • How to reset Firefox from the command line (without a mouse) on Linux?

    I use Firefox for automated desktop screenshots xvfb virtual. There is no mouse. So I need to reset Firefox from the command line. Uninstall a re - install led again to the window "reset".
    I use Ubuntu Server Edition 13.04.

    Otherwise, without a keyboard and a mouse, you can just reinstall and delete. / mozilla folder.

  • How can I remove icons from the dock.

    How can I remove icons from the dock? am on El Capitan on my iMac

    I tried dragging it to the top of Wharf and held for up to 10 secongs

    Delete appears, I let go and he goes right to the dock.

    Try control - clicking on the icon, then Options and uncheck the keep in the Dock. Some icons have a removal of the Dock option.

  • How can I import playlists from the windows media player 11 in excel 2003

    How can I import playlists from the windows media player 11 in excel 2003. I used to use the exporter information media, but in WMP11 it no longer allows me to "send to" exporting when I right click on a playlist.

    You must install the Windows Media Bonus Pack for Windows XP that includes the powertoy importer/exporter of playlist.

    Windows Media Bonus Pack for Windows XP! Packed with utilities, PowerToys, visualizations, skins, effects, sound and much more, the free Windows Media Bonus Pack installs on your Windows XP PC and allows your personality and creativity shine. More! MP3 Audio Converter THE sample one more feature! for Windows XP and double the amount of music you can store on your PC by converting your MP3 quickly and easily to Windows Media Audio (WMA) files. PowerToys for Windows Media Player for Windows XP (v8) includes a dozen new and updated PowerToys for Windows Media Player for Windows XP, designed to give you more control of your music with the MPXP tray control, Playlist Import to Excel, metadata utility library of media

    Download: Windows Media Bonus Pack for Windows XP

    Import playlist to Excel Powertoy
    Import playlist to Excel PowerToy offers an easy way to import lists of audio and video (with the .asx extension) of the Microsoft Windows Media Player in a worksheet in Microsoft Excel 2002 or later.

    After the playlist is imported into Excel, you can sort and retrieve information for each item in the list, including name, artist, genre, and bit rate of each file, sort and AutoFilter features in Excel. You can also export the file in HTML format to quickly create a Web page that contains a catalogue of all the audio and video in the playlist. In addition, you can draw and design of statistical information about the items in the playlist and use the information in other ODBC compatible programs (for example, Microsoft Access).

    The use of this tool is a two-step process. First, you must prepare the reading list by exporting it from Windows Media Player. Then, you use Playlist import to Excel PowerToy to import the playlist into Excel.

    To export a playlist in Windows Media Player:
    In Windows Media Player, click Media Library, and then expand My Playlists to view playlists that you created.
    Click the playlist you want to export.
    On the file menu, click Export Playlist to file.
    Select the folder where you want to save the file.
    In file name, enter a name for the file and then click Save.

    Import playlist into Excel:
    Click Start, point to programs, point to Windows Media Bonus Pack for Windows XP, and then click selection of import to Excel.
    Depending on your security settings, you can get a security warning dialog box. If Yes, click on enable the Macros to continue.
    Follow the instructions in the Windows Media Playlist import tool dialog box. (If you have already exported the playlist, you can skip step 3 in the import tool dialog box).

  • How to change Microsoft Security Essentials at the request of the parameters of scanning from the command line or in a script.

    Is it possible to change the parameters of the scheduled scan of the Microsoft Security Essentials from the command line or in a script?

    I know that I can use the command to schedule the MpCmdRun.exe tool command line to run, but that do not change or remove the existing scheduled scan that appears in the software. Run regedit to merge into the corresponding registry keys does not work because the keys are "locked", probably by the running of MSSE program.

    Suggest you post it in one of the forums dedicated to MSE - Microsoft Security Essentials: scanning, detection and removal of threats MowGreen Update Services - consumer safety

  • How to compress a folder from the command prompt?

    As we know, there is an option in sent to--> compressed (zipped) folder.
    Is it possible to do the same by running any command from the command line, which will happen like lightning my file.

    My goal is like that. I want to create a job in my task scheduler which can zip a folder at the interval given.

    Is this possible? Or did I dream about something impossible?
    Thank you. Sometimes, difficult things are possible...

    Hello

    7-zip is the way you really need to take.

    7-zip - free has command line options
    http://www.7-zip.org/7 - Zip - version command-line - free
    http://www.7-zip.org/download.html

    7-zip - Forums
    http://sourceforge.NET/projects/sevenzip/Forums/Forum/45797

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How can I download it from the Web site that was sent to me?

    How can I download it from the web site that was sent to me by Adobe?

    Thank you for mentioning the name of the Adobe application, you are trying to download.

    If its creative Cloud applications, you can check the link below:

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

    All other Apps that had bought you using the serial number such as Photoshop Elements or Lightroom 6... etc? You can check the link below:

    Other downloads

  • How can remove my account from the cloud to adobe

    How can remove my account from the cloud to adobe

    I would like to unsubscribe the service

    Hi mehranr34543413,

    Please contact the customer service. A customer service agent can help you with this request.

    Best,

    Sara

  • Uninstall creative cloud from the command line

    We have a license for Adobe Creative Cloud 2015.

    I packed Adobe Creative Cloud 2015 Muse for Windows.

    We use Microsoft SCCM to deploy applications packaged in our 8000 machines to Windows 7.

    Using SCCM MS I can install the Muse of 2015 CC packaged from the command line.

    However, how to uninstall an application Adobe Creative Cloud 2015 from the command line?

    Move the discussion to the deployment to the Cloud, business, & CS creative team

  • Analyzer of sequence running from the command line in TestStand 2010

    Hello

    I would like to be able to run and control the stand-alone command line sequence Analyzer.  I can do that in 2014 TS (and it seems that I could patch versions as soon as 2012 TS to give them this ability), as described here: http://digital.ni.com/public.nsf/allkb/B927893F26BFB64A86257ECE006E442D

    However, I work with a large existing codebase in 2010 TS (with no intention to migrate to a newer version, in the foreseeable future).  Is it possible to get the same functionality from command line in the 2010 version of the parser?

    I know that I can open the command line parser, but are the commands, I am interested in: analyze, report, / save, /clearMessagesOnSave, / minimize, / help, / / leave.

    Thank you!

    Thanks Ryan, Jigg,

    Yes, I can run the parser (and opened a project), but basically, I can't run anything.

    I realized what I do by writing a TestStand sequence that calls the parser to sequence through its API (attached).  I can then run TestStand (and call this sequence) from the command line.

  • Error running webworks create from the command line in Beta 2 of Webworks

    Hello

    I am creating a project of cordova webworks from the command line. I run the following command:

    WebWorks create f:\devroot\NEXT_GEN\MobileApp\WebWorks2\MyApp com.joe.myApp MyApp

    However, it fails with the following error message:

    {[Error: check incorrect header] errno:-3, code: "Z_DATA_ERROR"}

    It seems to me that its attempts to download a tar.gzip drop of github (url below), but this file does not exist:

    URL: https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;a=snapshot;h=v2.0.0.54;sf=tgz

    So I'm not sure that my project directory is set up correctly. What is contained in this folder which its trying to find in the remote repository and is it relevant to my application?

    I can see my project directory in the space provided. It contains the following folders:

    ".cordova', 'merge', 'platforms', 'plugins' and 'www '.

    ".cordova" contains a subfolder 'hooks' which, in turn, contains about 24 cases being with 'after' or 'before' (e.g.after_build, before_build), it seems to be empty. It also contains a config.json that contains the attributes id and name of the project. Do any other necessary information in config.json?

    All other folders are empty.

    Is any other thing missing? should there be a config.xml file created for me in the directory "www" for example?

    Just add a config.xml file myself? Y at - it information about the correct structure for the config.xml file in webworks 2.0?

    Thank you

    Joe

    Hey Joe,

    So, just to confirm, HOST = "C:\". "and USERPROFILE ="C:\Users\?

    This is useful. Normally Windows machines do not have a HOME environment variable.

    We must ensure that these files copied to %USERPROFILE%\.cordova\lib\www\cordova\v2.0.0.54

    Please try this patch to webworks-cli/lib/utils/utils.js:

        findHomePath : function () {
            return process.env[(process.platform === 'win32') ? 'USERPROFILE' : 'HOME'];
        },
    

Maybe you are looking for