Results 1 to 5 of 5

Thread: How to Stop Terminal Services

  1. #1
    Join Date
    Jan 2009
    Posts
    85

    How to Stop Terminal Services

    hie friends,

    I want to stop terminal services. When I am entering NET STOP "Terminal Services", it says - The requested pause or stop is not valid for this service.

    What should I do ? Can anybody please suggest me how to stop terminal services...!!

  2. #2
    Join Date
    May 2008
    Posts
    2,945

    Re: How to Stop Terminal Services

    You first need to tell your backup application to skip open files. Any files that users have open aren't relevant for backup purposes.
    The commands you need to stop terminal services are listed below. These commands allow you to configure the server to :
    stop accepting logons,
    send warning messages to those still logged in
    log-off those users who remain logged in.

    Change logon , Change port , Change user , Cprofile , Flattemp , Logoff , Msg , Mstsc , Query process , Query session , Query termserver , Query user , Register , Reset session , Shadow , Tscon , Tsdiscon , Tskill , Tsprof , Tsshutdn

  3. #3
    Join Date
    Apr 2008
    Posts
    3,339

    Re: How to Stop Terminal Services

    psexec is a free tool from Sysinternals

    To stop Terminal Services remotely, run :

    psexec \\servername net stop "terminal services"


    To start Terminal Services remotely, run :

    psexec \\servername net start "terminal services"

  4. #4
    Join Date
    Jan 2006
    Posts
    4,221

    Re: How to Stop Terminal Services

    In application mode you cannot Stop/Start the Terminal service without rebooting. To reboot remotely, use shutdown.exe tool.

    Shutdown.exe uses the following syntax:
    shutdown \\computername /l /a /r /t:xx "msg" /y /c

    You can use the following switches with Shutdown.exe:

    \\computername: Use this switch to specify the remote computer to shut down. If you omit this parameter, the local computer name is used.

    /l (Note that this is a lowercase "L" character): Use this switch to shut down the local computer.

    /a: Use this switch to quit a shutdown operation. You can do this only during the time-out period. If you use this switch, all other parameters are ignored.

    /r: Use this switch to restart the computer instead of fully shutting it down.

    /t:xx: Use this switch to specify the time (in seconds) after which the computer is shut down. The default is 20 seconds.

    "msg": Use this switch to specify a message during the shutdown process. The maximum number of characters that the message can contain is 127.

    /y: Use this switch to force a "yes" answer to all queries from the computer.

    /c: Use this switch quit all running programs. If you use this switch, Windows forces all programs that are running to quit. The option to save any data that may have changed is ignored. This can result in data loss in any programs for which data is not previously saved.

  5. #5
    Join Date
    Feb 2008
    Posts
    2,635

    Re: How to Stop Terminal Services

    Here are some of the variants you can use with shutdown.exe command :

    • To shut down the local computer in two minutes and display a "The computer is shutting down" message, use the following line in a batch file or type it at a command prompt, and then press ENTER:
      shutdown /l /t:120 "The computer is shutting down" /y /c

    • To cancel the shutdown process, type the following line at the command prompt, and then press ENTER:
      shutdown /l /a /y

    • To shut down and restart a remote computer named "Support," use the following line in a batch file or type it at a command prompt, and then press ENTER:
      shutdown \\support /r

    • To schedule the local computer to shutdown and restart at 10:00 P.M., type the following line at a command prompt, and then press ENTER:
      at 22:00 shutdown /l /r /y /c

Similar Threads

  1. Flash Player 10 on Terminal Services
    By Delaware in forum Windows Software
    Replies: 6
    Last Post: 30-06-2010, 10:59 PM
  2. Scanning with terminal services
    By TWEEK#1 in forum Windows Software
    Replies: 3
    Last Post: 10-02-2010, 06:34 AM
  3. Disconnect Automatically Terminal Services
    By Okies in forum Networking & Security
    Replies: 3
    Last Post: 07-07-2009, 11:24 PM
  4. net stop terminal services not working
    By Amaresh in forum Operating Systems
    Replies: 3
    Last Post: 08-06-2009, 09:48 PM
  5. Office 2007 and Terminal Services.
    By Kanwal^jeet in forum Office Setup
    Replies: 1
    Last Post: 24-11-2006, 05:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,432,852.43052 seconds with 17 queries