How to reboot in Windows Server 2012
-
OK, so rebooting a server isn't something you do every day (hopefully), but occasionally shit gets real and stuff needs to happen.
We had an issue with a live production webserver that had decided to stop serving web pages. The site was down anyway, so out of desperation I tried the good old fashioned reboot.
Erm, hang about, how the heck do you reboot one of these Metro servers? OK, lets just do it via command line because I'm in a hurry.
shutdown /r
Great that worked.
Now, let's look online to see how one is supposed to reboot using this Metro laden monstrosity of a UI?
1. Position your mouse in the bottom right corner of the Remote Desktop screen of your Windows 2012 server. 2. Once the menu is visible, click on Settings. 3. Click on Power. 4. Click on Restart.
Taken from here.
What the heck was wrong with just clicking on the start button and then selecting restart? Metro isn't about being simple or usable is it?
Filed under: I suppose that's why people hate Metro, I must be Doing it Wrong™
-
I must be Doing it Wrong™
You are. You should use SuperC.
Or right click in the lower left.
Or... fuck it, just use CLI.
-
It definitely doesn't belong under "settings".
-
-
WinC is a thing, and it opens the Lucky Charm Bar? Today I Learned...
Filed Under: TRWTF is "Charm Bar", we need a new tag cloud to attack
-
WinC is a thing, and it opens the Lucky Charm Bar?
It's magically
undiscoverableDiscourselicious.
-
In Server 2012 SP1 it is finally in the start screen. I dont know why they didnt put it in there in the first place.
Long time lurker, first time poster :)
-
Long time lurker, first time poster
Welcome! Allow me to direct you towards the lurker's thread :-)
-
Its a server, so I presume it spends most of its life un-attended in a comms room & is usualy adnministered remotly.
if so WTF does it even HAVE a gui?
-
-
Wolfraider?
Careful, someone might tryyyy to kill you with a forklift! Ole!
-
Its a server, so I presume it spends most of its life un-attended in a comms room & is usualy adnministered remotly.
if so WTF does it even HAVE a gui?
Why wouldn't it?
Remember, it's a Windows server, so Windows'll just page-out the GUI-related stuff if nothing's using it, which is 99% of the time.
I know Linux people always hate having GUIs on their servers, but I figure that's because:
- Linux is too shitty to page-out shit it's not using, and the GUI reduces the performance of the server, or
- Linux users love to close their eyes and pretend it's still 1976.
-
-
Its a server, so I presume it spends most of its life un-attended in a comms room & is usualy adnministered remotly.
if so WTF does it even HAVE a gui?
So that when you do need to administer it, there's a simple interface to access it through. Plus, most of the admins I work with (including myself as a web admin) usually connect to servers via remote desktop. That doesn't really work without a GUI.
-
Its a server, so I presume it spends most of its life un-attended in a comms room & is usualy adnministered remotly.
if so WTF does it even HAVE a gui?
That was my question when I first encountered this monstrosity too.
Let's hope Microsnot's "everything's a mobile device" era is over.
-
I know Linux people always hate having GUIs on their servers, but I figure that's because: 1) Linux is too shitty to page-out shit it's not using, and the GUI reduces the performance of the server, or 2) Linux users love to close their eyes and pretend it's still 1976.
1) as if 2) most admin tasks (reboot, stop/restart services etc) are easier to perform from a simple comand prompt, if a graphical app is required thes can be run tuneling the display through SSH to your local machine so no need to have un needed GUI running on the server + better performance that RDPIn al fairnes I should have asked why Microsoft bothered changing the GUI on a server that is almost never accessed anyway.
-
if so WTF does it even HAVE a gui?
That's why Windows Server Core exists; if you don't want or need a GUI.
Filed under: or if you're too "cool" to use one
-
I know Linux people always hate having GUIs on their servers, but I figure that's because:
- Linux is too shitty to page-out shit it's not using, and the GUI reduces the performance of the server, or
- Linux users love to close their eyes and pretend it's still 1976.
As someone who uses Linux almost exclusively at home, and drives only cars with manual transmissions, I think there's a relation between the two. Driving a manual transmission and administering servers using the CLI both require training and practice to do well, and there's something appealing about doing things that you're good at because you've put in the hours learning and practicing.
So add to your list:
- GUI administration is for lusers; CLI roolz all!
-
Click in middle of desktop and hit Alt+F4 - works fine since Windows 95 - and (unlike Windows key or some magic mouse corners) even works over most crappy remote desktop protocols.. And in more recent Windows it is the only way if you want to shutdown without installing updates.
Or upgrade to Windows 2012 R2. Then you have shutdown and restart in the context menu of the (returned) Start button.
Edit: Noticed today on a 2k12 server: If you configure the task bar to use small icons, the Start button will get smaller - but the Start button inside the Start screen to get out of it will still stay large, which looks confusing.
-
Let's hope Microsnot's "everything's a mobile device" era is over.
Since they’re firing 18,000 mostly (ex-)Nokia employees, chances are it will be. OTOH, given what I’ve read about Microsoft buying phone-related companies, the chance is just as big that those Nokia people would leave on their own accord anyway, I suppose.
-
Use R2 and the Win + X menu has shutdown and restart options. Oh. And MS-officials will tell you that you should use the Core-install on systems where you don't need a GUI. That way you rarely have to patch your OS. Or you can have a configuration with Minigui (servermanager is available from cmd/ps). Remember that you'll always be able to use *.msc-Plugins from a server with full GUI-features, for example a terminalserver.
-
does hitting the (physical) power button work?
-
Of course. You simply have to configure it in your control panel / GPO. If you can't go to the place where your server is, buy remote manageble servers. Or virtualize it and you can use the vm-addins to shutdown your machine.
-
Whoever decided Modern was appropriate on a server is TRWTF.
-
How better to
pistol-whipmotivate SAs for Windows systems to learn the command line than to make the GUI nearly useless?The new server manager thing will generate the Powershell commands it is running in the background as you use the GUI. I think it is a case of: 'Teach a man to fish by holding his head under water until the bubbles stop'.
-
Or right click in the lower left.
You need 2012 R2 for that - it's not available on the first edition.But otherwise, click the desktop or taskbar and press Alt+F4.
-
Right click on the start button and hover over "shut down or sign out", then click "restart".
OR
Left click the start button, then move the cursor to the opposite corner of the screen and click the power button, then click "restart".
At least that's how it works in 8.1...
-
manual transmissions
That is just because you maricans can't handle the raw shifting power.
-
I can't hear you over my DCT.
-
I didn't know discrete cosine transforms were that noisy.
-
They are, periodically.
-
That is just because you maricans can't handle the raw shifting power.
Manual transmissions are fun, but proper ones (with a stick and pedal operated clutch, none of that crap on the steering wheel) are difficult to find these days. And they're getting more expensive. Plus my wife doesn't know how to drive one, and I don't really want to replace a clutch two months in.
-
are difficult to find these days
Huh? Still the default over here. Anything else will cost you more.
-
Huh? Still the default over here. Anything else will cost you more.
I'm pretty sure I remember this conversation somewhere on CS. Europe, manual is 90% of the market. US, automatic is 90% (probably more) of the market. For many models, manual is not available even as an option, at any price.
-
That is just because you maricans can't handle the raw shifting power.
Actually, I'm not sure that's true. The thing is, most of us have never tried. I've heard stories of carjackings that were aborted because the car in question had a manual transmission.
-
I'm pretty sure I remember this conversation somewhere on CS. Europe, manual is 90% of the market. US, automatic is 90% (probably more) of the market. For most models, manual is not available even as an option, at any price.
FTFY
For a lot of models here, even if it is available, you have to special order it.
-
Hold the power button down for 5 seconds, or press it once
-
Plus, most of the admins I work with (including myself as a web admin) usually connect to servers via remote desktop. That doesn't really work without a GUI.
AT \\ComputerName "command"
Though I will admit, the first time I tried to work it, I was lost trying to find a GUI that wasn't there.
-
In al fairnes I should have asked why Microsoft bothered changing the GUI on a server that is almost never accessed anyway.
+1
-
As someone who uses Linux almost exclusively at home, and drives only cars with manual transmissions, I think there's a relation between the two.
I also use Linux and also drive car with manual transmission. The reason for both is overhead.
In Europe we have (and had for quite long) more expensive gasoline. So the increased consumption of automatic transmission is an important factor.
I've also often had pretty poor connection to some servers. Whether it was WiFi dropping packets due to collisions, poorly configured "QoS" causing long round-trips, hacky tunnel through proxy due to security theatre or a chain of VPNs leading to suboptimal route, improvements in raw link bandwidth never fixed all of them. Under such conditions running command-line incantations via ssh is still usable if you don't make too many typos while RDP gets mostly unusable.
And remember, one of the reasons you may have poor connection is that the server gets overloaded which is exactly when you most need to invoke some incantations on it.
-
I've also often had pretty poor connection to some servers. Whether it was WiFi dropping packets due to collisions, poorly configured "QoS" causing long round-trips, hacky tunnel through proxy due to security theatre or a chain of VPNs leading to suboptimal route, improvements in raw link bandwidth never fixed all of them.
Fix your shit?
TBH, I'm not sure why Microsoft doesn't simply enable Powershell over SSH, for those insane enough to be able to do things in Powershell. RDP is... suboptimal, to say the least, and since they're aiming to roll their own bash, they should at least provide one of its most important functionalities - which is easy remote connection.
There are some third-party options, but I shouldn't have to resort to them on a server OS.
-
-
-
In Europe we have (and had for quite long) more expensive gasoline. So the increased consumption of automatic transmission is an important factor.
-
Automatics haven't used more gas than manuals for decades. I guess you must be a TimePod customer just waking up from 1988.
-
Hybrids, the most fuel-efficient cars, are all automatics because they have CVTs by necessity.
-
-
So the increased consumption of automatic transmission is an important factor.
inb4 "In modern automatics, this is no longer the case."
I don't know about cars, but here's some archived reference material:
Edit - PJH. Cogratulations - you've won a INB4 Fail badge!
-
inb4 "In modern automatics, this is no longer the case."
1) Automatics haven't used more gas than manuals for decades. I guess you must be a TimePod customer just waking up from 1988.
pwned
Filed under: 4chan
-
NOOOOOOOOOOOOOO
ye took too long
now yer post chance is gone
-
-
-
You can
hatethank me for your nomination for that badge :D