shutdown shutdown
Позволяет выключать или перезагружать локальные или удаленные компьютеры по одному за раз. Enables you to shut down or restart local or remote computers, one at a time.
Синтаксис Syntax
Параметры Parameters
Параметр Parameter | Описание Description |
---|---|
/i /i | Отображает поле Remote Shutdown (удаленное завершение работы ). Displays the Remote Shutdown box. Параметр /i должен быть первым параметром после команды. The /i option must be the first parameter following the command. Если указан параметр /i , все остальные параметры игнорируются. If /i is specified, all other options are ignored. |
/l /l | Немедленное отключение текущего пользователя без периода ожидания. Logs off the current user immediately, with no time-out period. Параметр /l нельзя использовать с параметрами/m и /t. You cannot use /l with /m or /t. |
/s /s | Завершает работу компьютера. Shuts down the computer. |
/сг /sg | Завершает работу компьютера. Shuts down the computer. При следующей загрузке, если включен Автоматический вход в систему , устройство автоматически подписывается и блокируется на основе последнего интерактивного пользователя. On the next boot, if Automatic Restart Sign-On is enabled, the device automatically signs in and locks based on the last interactive user. После входа в систему перезапускаются все зарегистрированные приложения. After sign in, it restarts any registered applications. |
/r /r | Перезапускает компьютер после завершения работы. Restarts the computer after shutdown. |
/g /g | Завершает работу компьютера. Shuts down the computer. При следующей перезагрузке, если включен Автоматический вход в систему , устройство автоматически подписывается и блокируется на основе последнего интерактивного пользователя. On the next restart, if Automatic Restart Sign-On is enabled, the device automatically signs in and locks based on the last interactive user. После входа в систему перезапускаются все зарегистрированные приложения. After sign in, it restarts any registered applications. |
/a /a | Прерывает завершение работы системы. Aborts a system shutdown. Действует только в течение периода ожидания. Effective only during the time-out period. Чтобы использовать /a, необходимо также использовать параметр /m . To use /a, you must also use the /m option. |
/p /p | Отключает только локальный компьютер (не удаленный компьютер), без времени ожидания или предупреждения. Turns off the local computer only (not a remote computer)—with no time-out period or warning. Параметр /p можно использовать только с параметрами /d или /f. You can use /p only with /d or /f. Если компьютер не поддерживает функции выключения питания, он будет выключен при использовании /p, но питание компьютера останется включенным. If your computer doesn’t support power-off functionality, it will shut down when you use /p, but the power to the computer will remain on. |
/h /h | Перевод локального компьютера в режим гибернации, если включен режим гибернации. Puts the local computer into hibernation, if hibernation is enabled. Параметр /h можно использовать только с параметром /f. You can use /h only with /f. |
гибридные hybrid | Завершает работу устройства и готовит его к быстрому запуску. Shuts down the device and prepares it for fast startup. Этот параметр следует использовать с параметром /s . This option must be used with the /s option. |
/фв /fw | Объединение этого параметра с параметром завершения работы приводит к тому, что Следующая перезагрузка переходит к пользовательскому интерфейсу встроенного по. Combining this option with a shutdown option causes the next restart to go to the firmware user interface. |
/e /e | Позволяет документировать причину неожиданного завершения работы на целевом компьютере. Enables you to document the reason for the unexpected shutdown on the target computer. |
/o /o | Переход в меню дополнительных параметров загрузки и перезагрузка устройства. Goes to the Advanced boot options menu and restarts the device. Этот параметр следует использовать с параметром /r . This option must be used with the /r option. |
/f /f | Принудительно закрывает выполнение приложений без предупреждения пользователей. Forces running applications to close without warning users. Внимание! Использование параметра /f может привести к утрате несохраненных данных. Caution: Using the /f option might result in loss of unsaved data. |
/m \\ /m \\ | Указывает целевой компьютер. Specifies the target computer. Не может использоваться с параметром /l . Can’t be used with the /l option. |
/t /t | Задает время ожидания до завершения работы в xxx секунд. Sets the time-out period before shutdown to xxx seconds. Допустимый диапазон — 0-315360000 (10 лет) и значение по умолчанию 30. The valid range is 0-315360000 (10 years), with a default of 30. Если время ожидания больше 0, подразумевается параметр /f . If the timeout period is greater than 0, the /f parameter is implied. |
/d [p | u:] : /d [p | u:] : | Список причин перезапуска или завершения работы системы. Lists the reason for the system restart or shutdown. Поддерживаемые значения параметров: The supported parameter values are:
|
ПРИМЕЧАНИЕ.NOTE
Если значение p или u не указано, то перезагрузка или завершение работы не планируется. If p or u aren’t specified, the restart or shutdown is unplanned.
Комментарии Remarks
Пользователям должно быть назначено право » Завершение работы системы» для завершения работы локального или удаленного администрирования компьютера, использующего команду Shutdown . Users must be assigned the Shut down the system user right to shut down a local or remotely administered computer that is using the shutdown command.
Пользователи должны быть членами группы » Администраторы «, чтобы закомментировать неожиданное завершение работы локального или удаленного администрирования компьютера. Users must be members of the Administrators group to annotate an unexpected shutdown of a local or remotely administered computer. Если конечный компьютер присоединен к домену, эту процедуру могут выполнять члены группы «Администраторы домена» . If the target computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. Дополнительные сведения см. в разделе: For more information, see:
Если вы хотите завершить работу несколько компьютеров одновременно, можно вызвать Завершение работы для каждого компьютера с помощью сценария или завершить работу /I , чтобы отобразить поле удаленное завершение работы . If you want to shut down more than one computer at a time, you can call shutdown for each computer by using a script, or you can use shutdown /i to display the Remote Shutdown box.
Если указываются коды основных и вспомогательных причин, необходимо сначала определить эти коды на каждом компьютере, где планируется использовать причины. If you specify major and minor reason codes, you must first define these reason codes on each computer where you plan to use the reasons. Если коды причин не определены на целевом компьютере, средство регистрации событий завершения работы не сможет зарегистрировать правильный текст причины. If the reason codes aren’t defined on the target computer, Shutdown Event Tracker can’t log the correct reason text.
Не забудьте указать, что завершение работы запланировано с помощью параметра p . Remember to indicate that a shutdown is planned by using the p parameter. Если параметр p не используется, указывает, что завершение работы было незапланированным. Not using the p parameter, indicates that the shutdown was unplanned.
Использование параметра p , а также кода причины незапланированного отключения приводит к сбою завершения работы. Using the p parameter, along the reason code for an unplanned shutdown, causes the shutdown to fail.
Если параметр p не используется и указан только код причины для запланированного завершения работы, также происходит сбой завершения работы. Not using the p parameter, and only providing the reason code for an planned shutdown, also causes the shutdown to fail
Примеры Examples
Чтобы принудительно закрыть приложения и перезапустить локальный компьютер по истечении одной минуты, по причине приложения: обслуживание (запланированное) и комментарий «перенастройка myapp.exe», введите: To force apps to close and to restart the local computer after a one-minute delay, with the reason Application: Maintenance (Planned) and the comment «Reconfiguring myapp.exe», type:
Чтобы перезагрузить удаленный компьютер миремотесервер с теми же параметрами, что и в предыдущем примере, введите: To restart the remote computer myremoteserver with the same parameters as the previous example, type:
Windows Key Shuts down the computer
Replies (3)
Thank you for posting your question in Microsoft Community. We are glad to help you!
From your issue description, I understand that you are unable to use the keyboard normally. Please correct me if I have misunderstood the issue.
Before we proceed with troubleshooting, I need to ask few questions.
- Did you set any macros (a program to create Shortcut key to perform function)?
- Have you made any recent hardware or software changes to the computer prior to this issue?
- Is this a desktop computer or laptop?
- What is the make and model number of the computer and keyboard?
Try the methods and check after each method:
Method 1: Check the status of the issue using “Onscreen Keyboard”:
Method 2: Disable “Sticky Keys” feature if it is turned on:
a) Click the «Start» menu and then click «Control Panel.»
b) Click «Ease of Access Center» from within the Control Panel window.
c) Click «Make The Keyboard Easier To Use» from within the Ease of Access Center window.
d) Remove the check-mark beside «Turn On Sticky Keys» to prevent sticky keys from being accidentally turned on.
e) Click «Apply» to save your changes and then click «OK» to close the window.
If the issue persists, post your reply with results and questions asked as above. We are happy to assist you with advanced troubleshooting steps.
How to Perform a Full Shutdown in Windows 10
If you don’t plan to use your PC for a while, then you could shut down your PC by pressing the Win+X keys, press U, and press U again. A shutdown will close all apps, sign out all users, and completely turn off the PC. Users in Windows 10 are able to perform a hybrid shutdown (fast startup), hibernate, or a full shutdown on the PC.
- Fast startup is a setting that helps your PC start up faster after shutdown. Even faster than hibernate.
- Hibernate is a power-saving state designed primarily for laptops or tablets. Use hibernation, when you start up the PC again, you’re back to where you left off.
- A full shutdown will close all apps, sign out all users, and completely turn off the PC.
Perform a full shutdown can extend your battery’s life when you don’t plan to use your PC or reinitialize your Windows 10 PC when you want to boot from another media, here’s how:
Option 1: Perform a full shutdown using Shift key
Step 1: Open Start menu, select Power button.
Step 2: Press and hold theВ ShiftВ key on keyboard, while clicking onВ Shut down, and then release theВ ShiftВ key to perform a full shutdown.
Option 2: Perform a full Shutdown using Command Prompt
Instantly open Command Prompt(Admin) by using WinX keyboard shortcuts: press Win+X, and A.
Step 2: Then execute the following command, and press Enter key.
shutdown /s /f /t 0
If you want to perform a system restart after fully shutting down Windows 10, run the following command: