How to use the command shutdown in vista?

I used the shutdown command to make sure that the computer is turned off at some point in XP, but I just wanted to put my own computer to shut down after accidentally booting to Vista Home in order to download a large file while I was at work.

I tried shutdown-s t 9000, which should have set a time limit of two and a half hours, but he gave me the help screen message.
I saw that the main difference is that dashes had been changed to slashes, but "shutdown /s /t 9000" also failed.

What is the correct syntax to use the command? I confirmed that 'shutdown-s-t 9000' works very well in my XP virtual machine, if that is the new syntax to accomplish the same thing with Vista? I tried "run as administrator" to the command-line nothing helps.

Hello
It is the command to shut down the computer in Vista.
SHUTDOWN [/s] [t / xxx]
 
xxx/t:  The value of the timeout prior to xxx seconds. (The valid range is 0-600, with a default value of 30. The use of / t xxx implies the /f option.
 
/s: Shut down the computer.
 
/f: Force running applications to close without prior notice to users. (/ f is automatically defined when used in conjunction with xxx/t).

Tags: Windows

Similar Questions

  • How to use the command line in w/Merge Vista?-need to cut password expires...

    I use Vista Home Basic by Fusion on a Mac Intel. The instructions to stop Vista expire a password is to use the command-line under Vista. I already know these instructions, so my question is:

    How to use the command line inside Vista, on a virtual machine?

    Thanks for your help in advance, I don't want to mess something else.

    Jacob.

    With assistance from the command-line on Vista is no different if it is to be run on a virtual machine or on a physical machine, so just like you would on any physical machine.

  • Is there an online class to learn exactly how to use the command prompt which is quite through. OR y at - it clear a book that explains in detail for this? Who should I contact?

    I would like to know how to use the command prompt.  The nethodology type in the cmd prompt with the syntax and the Liposuction, in other words, the real return to a command prompt. I downloaded about evertthing I can find about this, but can't seem to put it all.

    My OS is Windows XP Pro sp3, lots of RAM, my address is * address email is removed from the privacy *.   I would like to take a rough online study if one is available if it is not too expensive.

    It really depends on what you mean by "to a command prompt."

    If you open a command prompt window (for example, in start > run > cmd > OK), you can enter a number of orders.  The list of available commands, including their syntax, is here--> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

    You can also follow the links here:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_o.mspx

    If you want to get more sophisticated - automating command-line tasks - you can start here: http://technet.microsoft.com/en-us/scriptcenter/default.aspx

  • How to use the command import on the production environment?

    Hi gurus of the OFA.

    I want to know about the production environment OAF and development environment, the differences between them and how to use the command import on the production environment?



    Concerning

    Ajay Sharma
  • How to use the video port with Vista on Qosmio G30

    Im running windows vista Ultimate edition.
    How to use the monitor in port?

    The Composite (in the port monitor) port is placed to the right.
    With the video component cable software plug-in delivered a CATV or satellite box can be connected to the computer to watch channels.
    You can for example use the Qosmio Player or Windows Media Center to watch other channels.

    As much as I know the ultimate Vista supports Windows Media Center, Windows Media Center HDTV.
    You should read some more details on your new operating system!

  • How to use the commands on the cmd prompt witout using a string like 'netstat' but I need output

    How use the commands on the cmd prompt witout using a string like netstat but I need output
    example: C:\ > netstat-an... will give its results
    But if the keyword netstat is blocked...
    I want to use the command netstat another way... can I convert it to binary, and then I can run or something else
    Please answer my questin

    Netstat is simply a file program located in the folder C:\Windows\System32.   It appears as "netstat.exe.  If you rename (or copy / paste / rename) to "abc.exe" then you can run it using 'abc' instead of 'netstat '.

    HTH,
    JW

  • Someone has found how to use the command of javascript loadXMLDoc by in Captivate?

    I am trying to build a more interactive learning experience for ready data of an XML document.

    However, I can't the javascript to work using the loadXMLDoc command.

    Everyone has understood how to make this work?

    I think that you are referring to a custom function named loadXMLDoc, it is not integrated into the XML DOM. You must create the XML request script and analyze yourself or borrow one. There is nothing "built-in" who can do it for you.

    XML DOM tutorial

  • How to stop the command line defragmentation Vista 64?

    I started "defrag - v w" command line 15 hours ago and I think she's still going because I do not have a command line prompt and the hard drive light flashes quickly (and somewhat randomly).  Anyone know how to stop the defrag process command line without altering anything?

    Key does nothing and the Task Manager shows that defragmentation is running.

    The f

    CTRL-c should stop.

  • How to use the command the reel with Bind Variables

    For the next REEL, I want the GEN_DATE to be entered by the user at the time of execution of the SQL Script. Is this possible in the command of the COIL.


    the colsep value,-separate the columns with a comma
    set pagesize 1000 - get rid of disturbing - between pages
    set position-the title of column Print
    Set trimspool on - remove the spaces to the right. eliminating spaces until eol
    set linesize 700 - line size should be the sum of the column width
    coil spool_results.csv
    SELECT *.
    OF GUI_SITE_JOURNAL
    WHERE GENDATE_ BETWEEN ' 2012-11-01 00:00:00:00000' AND ' 2012 - 11 - 02 00:00:00:00000'* ORDER BY GEN_DATE;
    spool off;

    The reason is to give the opportunity to the user so that he can enter any beach without changing the code of the script.

    Can someone help me please.

    Published by: user10903866 on February 18, 2013 19:44

    Hello

    user10903866 wrote:
    For the next REEL, I want the GEN_DATE to be entered by the user at the time of execution of the SQL Script. Is this possible in the command of the COIL.

    Do you want user input in the command of the COIL, or want you she in the query?

    the colsep value,-separate the columns with a comma
    set pagesize 1000 - get rid of disturbing - between pages
    set position-the title of column Print
    Set trimspool on - remove the spaces to the right. eliminating spaces until eol
    set linesize 700 - line size should be the sum of the column width
    coil spool_results.csv
    SELECT *.
    OF GUI_SITE_JOURNAL
    WHERE GENDATE_ BETWEEN ' 2012-11-01 00:00:00:00000' AND ' 2012 - 11 - 02 00:00:00:00000'* ORDER BY GEN_DATE;

    What are the data type gen_date of the oif?
    If it is a string, it is a big mistake. Information about the dates in the DATE columns belongs.
    If it's a DATE, so don't try to compare strings, such as "2012-11-01 00:00:00:00000'."

    spool off;

    The reason is to give the opportunity to the user so that he can enter any beach without changing the code of the script.

    Can someone help me please.

    One way to do that is with substitution variables:

    ...
    SET     VERIFY  OFF
    
    ACCEPT  start_gen_date     PROMPT "Starting date (e.g., 2013-02-18 23:00:00.00000): "
    ACCEPT  end_gen_date     PROMPT "Ending date   (e.g., 2013-02-18 23:59:59.99999): "
    
    SPOOL  spool_results.csv
    
    SELECT    *
    FROM        gui_site_journal
    WHERE        gen_date  BETWEEN '&start_gen_date'
                    AND     '&end_gen_date'
    ORDER BY  gen_date;
    
    SPOOL  OFF
    

    There are security considerations. Variables substitution to the devious users the power to issue a SQL, such as DROP TABLE command. Users with SQL * Plus access already have this power, anyway.

  • How to use the commands serveroutput in plsql

    Hello

    I have to create a file waiting inside my procedure how is possible to use? Is there a way.
    Dynamic instructions will be working

    For example, CREATE OR REPLACE PROCEDURE SP_PROC1
    AS
    BEGIN

    SET SERVEROUPUT

    COIL D:\ABCD. JOURNAL;

    SET SERVEROUTPUT
    SPOOL OFF;

    END;
    /

    Thank you

    Why not use a table to store your messages instead of dbms_outputting all this?
    Simply create a (standalone) procedure that handles inserts and then you have the data available through a table more away treatment / for the purposes of tax.

  • How to use the command-line ADT to build an app, iOS, including the ActionScript native extension file

    Hi all

    I have packaged ANE files in my iOS app. I can export their version don't build via FB, no problem.

    But how can I include these DONKEY by ADT command line files? I do like the other files in the library?

    Thanks in advance for any help.

    I was stupid who did not find the proper syntax.

    extdir - extensionsDir will do the trick.

  • How to use the command to move the machine to a data store in another data store in WTT(Windows Test Technology) Atlas (2.7)?

    I searched doc help WTT Atlas, just found this: "the MoveMachine command allows users to move client computers between the basins of the machine. This command assumes that the user has permissions of correction to carry out operations and generates an error if this is not the case. "

    Note: this command just explain machine displacement between the watersheds of the machine instead of the data store.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • How to use the Microsoft Narrator in Windows Vista

    I would use this feature - just do not know how. Can anyone lead me in the right direction?  Any help is appreciated?

    Hello

    Windows comes with a screen reader called Narrator, which reads text on the screen aloud and describes some events (such as displaying an error message) that happen while you're using the computer.

    You can see the following article on how to use the narrator in Windows Vista.

    Hear text read aloud with Narrator

    http://Windows.Microsoft.com/en-us/Windows-Vista/hear-text-read-aloud-with-Narrator

    I hope this helps.

  • How to use the prtsc button please, so I can capture Bank to receive the shipment?

    How to use the prtsc button please, so I can capture Bank to receive the shipment?

    If you can view receipts from the Bank to the screen... just left
    Click on your print screen button to copy the screen of your
    Windows Clipboard. Then... Open Windows Paint and
    Reach... Editing / paste. Then go to... File / save as / JPEG.

    If the file needs cropping... you can use the 'Fix' edition
    option in the Windows Photo Gallery.

    Another option:

    If you run any version of Vista Basic...
    the capture tool can be a better tool for the job:

    Use capture tool to capture screenshots
    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots
    (Vista Home Premium, Business, Ultimate, Enterprise)

    Windows Vista - activate the Vista Snipping Tool
    http://www.PCWorld.com/article/137099/activate_vistas_snipping_tool.html

    Vista tutorial - How to use the tool captures of Vista
    http://www.Vistax64.com/tutorials/148532-how-use-Snipping-Tool-Vista.html

  • How to use the shutdown command to stop another computer?

    I just saw the setting-m to the shutdown command and decided to give it a whirl. However, when I pointed out the computer in question, I received a message that "a required privilege is not owned by the customer.

    What should I do to be able to use my laptop to turn off my old desktop computer? Both are running XP Professional SP3.
    Sometimes, I like reading or watching streaming video on Hulu on the laptop while lying in bed, and sometimes I play music if do the first, which is stored in the form of MP3 files on the desktop (which I access via a share). Be able to turn the office without getting up would be nice, but you do not get this option with Remote Desktop.

    Here is the result, the office is "slickswintel" (he's old, and since when I went first from Mac to Windows 98SE, although it is now a double XP/98) and the laptop is "slickslaptop".
    Both machines have unprivileged called 'Slick' on them local accounts that are my accounts on the day the main day. I have a different admin account, but I only use it as needed and use runas as often I log in fact.

    What should I do to get the following to work? In spite of the passing the MCSA Exam, I never learned about this feature, so I'm not sure what I should do to make it work? It'll work on a workgroup or is it only for domains? While I could set up a domain with the copy of the server I got from Dreamspark, I really didn't need one.

    Microsoft Windows XP [Version 5.1.2600]
    Copyright (C) 1985-2001 Microsoft Corp.

    D:\Documents and Settings\Slick > shutdown /?
    Usage: shutdown [-I |-l | s | r-|-a] [-f] [m \\computername] [t xx] [-c 'c
    COMMENT'] [d up: XX: YY]

    No args display this message (same as to-?)
    -i Display GUI interface, must be the first option
    l log off (cannot be used with the - m option)
    s shut down the computer
    r Shutdown and restart the computer
    -an abandonment, a system shutdown
    -m \\computername Remote to cancel the shutdown/restart computer /.
    t xx Set timeout for shutdown to xx seconds
    -c 'comment' comment (maximum of 127 characters) stop
    Forces f - running applications to close without war
    Ning
    d [u] [p]: xx:yy reason for closing code
    u is the user code
    p is a planned shutdown code
    XX is the main reason (the positive integer code
    SS to 256)
    YY is the minor reason (the positive integer code
    SS to 65536)

    D:\Documents and Settings\Slick > stop s m \\slickswintel
    The operation completed successfully.
    A required privilege is not held by the client.

    D:\Documents and Settings\Slick >

    As a general rule, you must have administrative privileges on the remote computer to shut down this computer.  Given that both computers have XP Pro, you are halfway there (remote users always authenticate as 'Guest' on XP Home).  The computer that you are trying to close must have "Simple file sharing" disabled because otherwise you can not authenticate to this computer as anything except the user "guest".  So try to disable Simple file sharing, make sure that your user name and password are the same on both computers and make sure you have administrative privileges on the remote computer, and then you can stop the machine with the command "shutdown".

    "How to disable the file sharing simple and how to set permissions on a shared folder in Windows XP"
      <>http://support.Microsoft.com/kb/307874 >

    In fact, it's easier to use the remote desktop.  Even if you do not have a "Shutdown" option in the start menu, you can always open a command prompt window (start-> Run-> "cmd") and enter the command:
    stop s f t 35
    This will give you 35 seconds to logoff this computer before its judgment (assuming that you have administrator privileges).

    You can also look in the command "psshutdown' of the PSTools Suite
    PSTools: <> http://technet.microsoft.com/en-us/sysinternals/bb896649 >

    HTH,
    JW

Maybe you are looking for

  • Stupid question: why tinytots (and other similar fonts) will not work in Firefox?

    I am a user of Tumblr, if of course if I had to work on a theme, I would like to see the fonts that I have chosen to serve. In Chrome, everything seems as it should usually (relative to the fonts). In Firefox, I respond specifically to these two brow

  • Messages in the Outbox

    I tried to send a low great attachment my icloud with my iphone account, the message cannot be send a TI still in my Outbox on the status bar and continually send error messages, how can I removed it?

  • Tecra M5 (PTM51E) - What tools I need for the FN keys?

    I am trying to install a new version of Windows XP on my laptop. Can anyone confirm which software from the support site, I need to install to get the Fn + F keys to work?I installed everything on the site but I can't get the buttons working. Screen

  • After portable recreating the image, installed programs do not show up in Add or remove programs

    I had a few problems of virus with a laptop from work so HE wiped and did a reimage but now there are only four programs appear in Add or remove programs. There is something of our previous IT person made in the registry very quickly allowing these p

  • Setting security on WRT54G2

    Hello My name is Arash Tarighati and im working in the wireless Internet access provider Recently we replaced our router Point of the SCM access Linksys LastDay, I went to one of the houses of customers for the installation of this device (WRT54G2).