Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 77
  • Last Modified:

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

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
Beto Bautista
Asked:
Beto Bautista
  • 3
  • 2
2 Solutions
 
Benjamin VoglarIT ProCommented:
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
 
QlemoC++ DeveloperCommented:
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
 
Beto BautistaAuthor Commented:
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
QlemoC++ DeveloperCommented:
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
 
Beto BautistaAuthor Commented:
Hi Qlemo,

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

Excellent day. :)
0
 
Beto BautistaAuthor Commented:
Hi Team,

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

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now