Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

You can enable comments restart screen when you restart Windows Server 2012

Posted on 2016-08-24
7
Medium Priority
?
75 Views
Last Modified: 2016-08-25
Hi Team,

I have a question:
You can enable comments restart screen when you restart Windows Server 2012.

exist a command run on CMD is: shutdown /r /t 60 /c "comments" /f /d p:4:1 but it´s posible enabled this feature in windwows server 2012.

Best Regards
bETO
0
Comment
Question by:Beto Bautista
  • 3
  • 2
7 Comments
 
LVL 12

Assisted Solution

by:Benjamin Voglar
Benjamin Voglar earned 1000 total points
ID: 41769341
This must worked in win 2012 to:

https://technet.microsoft.com/en-us/library/cc732503(v=ws.11).aspx

Do you have windows server 2012 R2 ??

Or you can try with powershell:

$time = 120
$server = "mycomputer"
$comment = "this is my comment."
$reboot = @("/r", "/t", $time, "/m", "\\$server", "/c", $comment)

& shutdown $reboot

Open in new window


http://stackoverflow.com/questions/28677309/shutdown-restart-command-using-a-variable-in-powershell
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 41769349
The comment you refer to is the comment shown before rebooting. It will not appear anywhere persistent. If you initiate a manual reboot, it will be performed immediately. So the question is what you really want to do?
0
 

Author Comment

by:Beto Bautista
ID: 41769470
Hi Qlemo, Benjamín,

thank you very much for your reply.

I need to enable reset screen to post comments but in graphic mode

exist this feature in Windows server 2012

Best Regards
Beto
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 71

Accepted Solution

by:
Qlemo earned 1000 total points
ID: 41769932
Use shutdown /i. On my systems any additional parameter gets ignored, sadly, so you have to provide all options in the GUI part, including the machine to reboot.
0
 

Author Comment

by:Beto Bautista
ID: 41770617
Hi Qlemo,

thank you very much, that's what I need.

Excellent day. :)
0
 

Author Closing Comment

by:Beto Bautista
ID: 41770618
Hi Team,

thank you very much, that's what I need.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Screencast - Getting to Know the Pipeline

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question