Как перезапустить windows server 2003

Remote Shutdown Windows 2003

Shutdown is an exciting command line program available in the Windows Server family, and also Windows 7 and Vista.  I say exciting both in the sense that everyone loves this command, and also exiting in the sense it has a dramatic effect – downs the server.  So take care when experimenting with this command. 

Twenty dollars gets you fifty, that sooner or later you shoot yourself in the foot and accidentally shutdown your own machine instead of the machine you really wish to restart.  So pay close attention to the syntax.

Shutdown /a  Remember this is your get out of jail card, it aborts shutdown

Example: Shutdown  /a  /m \\computername

Windows 2003 Remote ‘Shutdown’ Commands

  • Remote Shutdown – The Basics
  • Shutdown – Select Your Victim
  • Shutdown – Add the Extras
  • Shutdown – Boring Box
  • Shutdown – Windows 7 Command Line Switches
  • Windows 8 Shutdown Command
  • PowerShell Shutdown Command

  ‡

Remote Shutdown – The Basics

Shutdown is a built-in executable in XP and the Windows Server family. Your first decision is do you want a simple shutdown?  If so, use Shutdown /s.  Alternatively, should you desire the machine to restart then type Shutdown /r.

After you issue the /s or /r, a dialog box appears with a 30 second count down, remember to issue the Shutdown /a if you are just testing, or have made a mistake.  Watch out for the dialog box disappearing as you issue the Shutdown /a instruction.

Shutdown /r Command – Select Your Victim

Now for the ‘Remote’ switch /r.  The full command would be:
Shutdown /r /m \\victim.  The slashes look slightly strange, but that’s how it works, in this example, ‘victim’ is the remote machine name.  None of this is case sensitive so sHUTDOWN /R /m \\ViCTim would work.

Note: There is no space between the backslashes and the computername
\\  victim would be a mistake.

  For the local machine, try 127.0.0.1 e.g shutdown /s /m \\127.0.0.1.  Useful in batch files.

Examples of Windows 2003 Remote Shutdown switch

shutdown /s /m \\victim – Shuts down a remote machine called ‘victim’

shutdown /r /m \\exchange – Reboots a remote machine called ‘Exchange’

Note: For once the sequence of switches is important shutdown /m /s \\ machine does not work.

Guy Recommends: SolarWinds Free Wake-On-LAN Utility

Encouraging computers to sleep when they’re not in use is a great idea – until you are away from your desk and need a file on that remote sleeping machine!

WOL also has business uses for example, rousing machines so that they can have update patches applied.  My real reason for recommending you download this free tool is because it’s so much fun sending those ‘Magic Packets’. Give WOL a try – it’s free.

Download your free copy of SolarWinds Wake-On-LAN

Remote Shutdown – Add the extras

/a abort or cancel.  See more about Abort Windows Shutdown

/t for time.  Is 30 seconds too short (or too long) a time?   You can adjust with /t: 60 to display the dialog box one minute. Maximum is 600 seconds.

/f for force.  ‘Mr Nasty’, is coming – ready or not!  Shutdown /r /f as you may have guessed, restarts the machine and closes any programs without warning.

/c for comment.  Would you like to put your stamp on the shutdown?  Let people know who is in charge!  /c » Guy is shutting you down for an update»

/d p:4:1 reason.  Personally, I would avoid this switch, the syntax is tricky the numbers obscure and worst of all it does nothing exciting.  That said the idea is sound, it enters a reason for the shutdown in the event log.  If you activate shutdown’s help, then you will get a whole list of major and minor reasons that you could employ with this switch.  For me, this switch is an option, an option that I do not take.

Note 1: Shutdown’s switches work equally well with a dash, for example, -d, -r or -a 
(instead of /d, /r or /a)

Note 2: Here is another example of remote restart of Windows Server

Note 3: See also VBS shutdown

GUI Remote Shutdown

Some poeple prefer the graphical interface of shutdown, to access this try:
Shutdown /i

How To Stop Users Shutting Down Computers

Every company has mischief makers.  If you want to stop people shutting down other workers machines by abusing shutdown -r, then you can set a Group Policy which prevents ‘Force Shutdown From A Remote Machine’.

Launch GPMC or SECPOL.MSC
Navigate to Local Policies
    User Rights Assignment.

Experiment by assigning just your account, rather than all administrators.

Guy Recommends: Permissions Analyzer – Free Active Directory Tool

I like thePermissions Monitor because it enables me to see quickly WHO has permissions to do WHAT.  When you launch this tool it analyzes a users effective NTFS permissions for a specific file or folder, takes into account network share access, then displays the results in a nifty desktop dashboard!

Think of all the frustration that this free utility saves when you are troubleshooting authorization problems for users access to a resource.  Give this permissions monitor a try – it’s free!

Download Permissions Analyser – Free Active Directory Tool

Windows Server 2003 Shutdown Problem

YourServer: The computer is processing another action and thus cannot be shut down. Wait until the computer has finished its action, and then try again.(21)

This problem is caused by a Remote Desktop Connection using the /console switch to the Windows Server 2003 computer.

Solution, either get a hotfix for a permanent solution, else check the server’s remote connections for a temporary work-around.

Summary of Windows 2003 Remote Shutdown Command

 Server Shutdown Event Tracker – Boring Box

This section deals with a completely different setting.  Imagine that you wish to disable the annoying shutdown tracker found on Windows Server 2003.

As is so often the case, when you do not like a feature there is hidden way of turning it off.  In order to disable the Shutdown Dialog box, check out your group policy.  Ask yourself, would this be a Computer policy or a User policy?  The answer is Shutdown Event Tracker is a Computer policy.  Armed with this knowledge make sure that:

 a) You select the OU which containers the Windows 2003 server.

 b) You navigate to the Computer not the user part of group policy.

Complete Group Policy path to disable Shutdown Event Tracker:

    Local Computer Policy
           Computer Configuration
                  Administrative Templates
                          System

»

See more Windows Server Shutdown Commands

If you like this page then please share it with your friends


Related topics

• Accounts   • Auditing  • IPSec  • Kerberos Tickets  • Windows RIS Server

•LT2P and Certificates   • Security Snap-in  • Remote Shutdown

The Windows Server 2003 computer you are working on will not shut down. You don’t have any luck using the Start menu or the [Ctrl][Alt][Delete] methods, and you need to restart the server as quickly as possible. There is a quick workaround that gets the job done — and you don’t even have to handle power cords or the power switch.

From the command line, you can shut down or reboot any Windows Server 2003 computer (or even Windows XP or Vista machines) with the Shutdown.exe command. (Note: The exe file extension is optional for the Shutdown command.) Shutdown.exe contains a number of switches that allow you to specify different actions for the server when the Shutdown command executes. The Shutdown.exe switches are as follows:

/? Displays the Help listing
/i Displays the graphical user interface (GUI); it must be the first option
/l Logs off the current user; it cannot be used with the /d or /m options
/s Shuts down the computer
/r Shuts down and restarts the computer
/g Shuts down and restarts the computer and then restarts any registered applications
/a Aborts system Shutdown
/p Turns off the local computer with no timeout or warning
/h Hibernates the local machine
/e Documents the reason for shutting down the computer
/m Specifies the target computer; it is used with \\computername
/t xxx Where xxx is the number of seconds before Shutdown
/c “comment” Where “comment” is the reason for the Shutdown or restart
/f Forces running applications to close without warning users
/d [p|u:]xx:yy Provides the reason for the Shutdown action: p = planned; u= unplanned; xx supplies the major reason code; yy = supplies the minor reason code

Blog.jpg

Blog

The Internet Innovations Group website blog is a collection of management or technical insight gained from daily consulting or support calls with our clients.

It is not uncommon for a server to require a reboot after a Windows Update, virus protection install, backup software install, or pretty much any third party software that runs as a service.  However, most businesses prefer any Network downtime to occur after hours.

 

Most businesses prefer any Network downtime to occur after hours.

Accordingly, the solution is to schedule an unattended server reboot.  Following are the steps to perform an unattended and scheduled reboot of a Windows 2003 Server.

Before you proceed, some things to consider: 

  • Make sure you have previously performed a manual reboot and know for a fact that the server will reboot successfully without requiring user interaction to complete it’s reboot. Make sure your server doesn’t have BIOS prompts that require you to press F1 or similar to continue.  Make sure, you don’t have any failed Services at start-up that require a manual start.
  • Make sure there are no Scheduled Tasks or other schedule processes that run at the time when you plan to schedule the reboot.

Summary

  1. Create batch file containing the commands to reboot the server
  2. Create a Scheduled Task to execute the batch file

Step by step:

Create Batch File

  1. Open Notepad
  2. Type a line with the following: shutdown -r -f -t 30
  3. Select Save As from the File menu and change the extension from .TXT to .BAT. Place file on local server hard drive (remember location).  The location must be accessible via the User Account whose permission you will use of the Scheduled Task.

Create Scheduled Task

  1. Schedule Batch file as Scheduled Task via Control Panel.
  2.  Browse for previously created Batch file.
  3. Select appropriate Administrator account to execute Scheduled task.
  4. IMPORTANT: Schedule task to run «once», unless you want to be rebooting server on a regular basis daily, weekly, monthly, etc. 

Sample Scheduled Task Entry

Sample Scheduled Task Schedule Tab

Sample Scheduled Task Permissions

We hope our insight has been helpful.  This is just one of many common IT issues we handle on a daily basis as part of our Network, Server, and Desktop support; or it may be insight resulting from our Website, Mobile App, or Database development projects.

If you would like to take advantage of our insight for your daily IT Support and IT Projects, please feel free to contact us.

Click for Contact Information

Internet Innovations Group

Internet and Network Integration Services

Pennsylvania based business providing Internet and Network Integration Services to Small and Midsize businesses.  Services include Website Design, Mobile Device Enabled Websites, Microsoft Servers Support, Router and Wireless Configurations.  Specializing in Squarespace Hosted Websites.

P. 570.267.4671

F. ​866.877.4284

​e. info@internetinnovationsgroup.com

i. www.internetinnovationsgroup.com

Internet Innovations Group | , Clarks Summit, PA 18411, USA

Операционная система Windows Server 2003 может быть надежным и стабильным инструментом для вашего сервера, однако иногда возникают ситуации, когда необходимо перезапустить систему. В этой статье мы рассмотрим, как выполнить перезагрузку сервера под управлением Windows 2003.

Перезагрузка сервера может потребоваться в случае проблем с работой приложений, обновлений системы или просто для обновления конфигурации. Важно знать правильные способы перезапуска системы, чтобы избежать потери данных и обеспечить корректную работу сервера.

В этом руководстве мы рассмотрим несколько методов перезапуска Windows Server 2003, включая использование командной строки, графического интерфейса и другие способы, которые помогут восстановить работоспособность системы.

Подготовка к перезапуску

Перед тем, как перезапустить Windows 2003, необходимо убедиться, что все важные данные сохранены и программа закрыта.

Проверьте, что все открытые файлы закрыты и сохранены, чтобы не потерять важные изменения.

Закройте все работающие программы и приложения, чтобы избежать потери данных при перезапуске.

Также, убедитесь в том, что все установленные программы закрыты и сохранены, чтобы избежать возможных ошибок при перезапуске операционной системы.

Почему нужно перезапустить Windows 2003

Перезапуск операционной системы Windows 2003 необходим по ряду причин:

  • Применение обновлений. После установки обновлений операционная система может потребовать перезагрузки для завершения процесса.
  • Изменения конфигурации. При внесении значительных изменений в систему, таких как установка нового программного обеспечения или изменение параметров системы, перезагрузка может потребоваться для применения этих изменений.
  • Устранение сбоев. Перезапуск может помочь в восстановлении нормальной работы системы в случае возникновения сбоев или неисправностей.
  • Очистка памяти. Перезагрузка помогает освободить оперативную память и закрыть процессы, которые могут негативно влиять на производительность системы.

Шаги перед перезапуском

Перед тем как перезапустить Windows 2003, убедитесь, что вы сохранили все открытые документы и завершили работу с программами. Также убедитесь, что все необходимые данные сохранены и резервные копии сделаны.

1. Закройте все запущенные приложения и программы.
2. Проверьте, что все документы сохранены.
3. Убедитесь, что ваши важные данные забэкапированы.
4. Проверьте, что вы вышли из всех аккаунтов и аккуратно закрыли все окна.

Перезапуск через меню

Для перезапуска Windows Server 2003 с помощью меню следуйте этим шагам:

  1. Нажмите на кнопку «Пуск» в левом нижнем углу экрана.
  2. Выберите пункт «Выключить компьютер».
  3. В открывшемся окне выберите «Перезагрузить».
  4. Нажмите кнопку «ОК».

После выполнения этих действий Windows Server 2003 начнет процесс перезагрузки.

Как перезапустить через «Пуск»

Для перезапуска Windows Server 2003 через меню «Пуск» выполните следующие действия:

  1. Нажмите на кнопку «Пуск» в левом нижнем углу экрана.
  2. Выберите пункт «Выключить…».
  3. В открывшемся меню выберите «Перезагрузить».
  4. Подтвердите перезагрузку системы, если необходимо.

После выполнения этих шагов Windows Server 2003 перезагрузится и загрузится заново.

Перезапуск через командную строку

Если вы хотите перезапустить Windows Server 2003 через командную строку, вам необходимо выполнить следующие шаги:

1. Откройте командную строку, нажав клавиши Win + R, введите «cmd» и нажмите Enter.
2. Для перезапуска компьютера введите команду:
shutdown -r -f -t 0

Команда shutdown используется для управления выключением и перезапуском компьютера. Параметр -r указывает на перезапуск, -f — на принудительное закрытие всех программ без предупреждения, -t 0 — на отсутствие задержки до перезапуска.

Перезапуск через диспетчер задач

Для перезапуска Windows Server 2003 с помощью диспетчера задач выполните следующие шаги:

  1. Откройте диспетчер задач, нажав комбинацию клавиш Ctrl + Alt + Delete.
  2. Выберите вкладку «Приложения» и нажмите «Новая задача».
  3. В появившемся окне введите «shutdown -r -t 0» (без кавычек) и нажмите Enter.

Этот метод позволяет перезапустить сервер без использования командной строки и облегчает процесс перезапуска операционной системы.

Открытие диспетчера задач

1. Нажмите сочетание клавиш Ctrl + Shift + Esc на клавиатуре.

2. Или нажмите Ctrl + Alt + Delete, затем выберите «Диспетчер задач» из списка опций.

3. Другой способ: щелкните правой кнопкой мыши на панели задач Windows и выберите «Диспетчер задач».

Выбор процесса для перезапуска

Перезапуск Windows 2003 может потребоваться по разным причинам, от устранения неисправностей до обновления системы. Перед тем как перезапустить сервер, необходимо определить, какой процесс именно требуется перезапустить.

  • Для обновления операционной системы необходимо перезапустить весь сервер целиком. Перейдите в меню «Пуск», выберите «Выключить компьютер» и затем «Перезагрузить».
  • Если необходимо перезапустить отдельный сервис или приложение, можно воспользоваться диспетчером задач Windows. Откройте диспетчер задач (Ctrl + Alt + Delete), найдите нужный процесс во вкладке «Подробно» и перезагрузите его.
  • Если проблемы с системой возникают после установки нового программного обеспечения, попробуйте перезапустить только этот процесс, при необходимости перезагрузите весь сервер.

Выбор процесса для перезапуска зависит от конкретной ситуации и требуемых действий. Помните, что перезапуск системы может привести к потере данных, поэтому рекомендуется сохранить все важные файлы и документы перед этим шагом.

Перезагрузка через аппаратное оборудование

Иногда возникают ситуации, когда перезапуск операционной системы Windows 2003 приходится выполнять через аппаратное оборудование. Например, если система зависла и нет возможности выполнить перезагрузку стандартным способом.

Для перезапуска через аппаратное оборудование следуйте следующим шагам:

1. Найдите кнопку питания на корпусе компьютера.
2. Убедитесь, что все необходимое сохранено и закрыто.
3. Зажмите кнопку питания и удерживайте ее до полного отключения компьютера.
4. Подождите несколько секунд и затем снова нажмите кнопку питания для включения компьютера.

Помните, что перезапуск через аппаратное оборудование может повлечь за собой потерю несохраненных данных, поэтому следует использовать этот метод только в случае крайней необходимости.

Нажатие кнопки перезагрузки

Если вы хотите перезапустить Windows Server 2003, нажмите кнопку «Пуск» на панели задач.

Затем выберите «Выключить».

В новом меню выберите «Перезагрузить».

После этого система начнет перезагрузку и автоматически перезапустится.

  • Вся активность

Удаленная перезагрузка Вин 2003 сп1

Join the conversation

You can post now and register later.

If you have an account, sign in now to post with your account.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Armsvc exe что это за процесс windows 10
  • Как создать загрузочную флешку windows 10 через ultraiso на флешку
  • Windows 10 upgrade fix
  • Директ х для windows 10 x64
  • Менеджер дисков windows 10 команда