Disabling the Windows Server 2012 Lock Screen Timeout

by Scosby Thursday, December 13, 2012

After upgrading to Microsoft Server 2012, I was excited to take advantage of the new Modern apps offered via the Store. One of my favorite features is displaying detailed App information on my lock screen. Usually, I forget to check the outside temperature before I lock my machine to go walk to lunch. I really enjoy being able to simply glance at my lock screen to see the current temperature.

In Server 2012 by default, the lock screen will put the monitors to sleep after 1 minute. I found myself waking the monitors too frequently. An initial web search led me to a MSDN forum post for Windows 8 that unlocked the missing Power Settings feature in Server 2012.

  1.       Open the following registry key
     a.       HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7
  2.       Set the following value
     a.       Attributes => 2 

  3.       Now open Control Panel>Power Options>Change Plan Settings>Change Advanced Power Settings
     a.       The new Display section “Console lock display off timeout” is now available.
     b.      Configure your “Plugged in” value accordingly (0 to disable) – I haven’t tested to see if the monitor sleep setting still applies when the screen is locked.

Tags: ,

Technology | IT

Windows Time Service on your Primary Domain Controller

by Scosby Friday, May 1, 2009

So, this isn't configured out of the box for your forest. Interesting.

You can set this up via Group Policy or the command-line. Tech-net suggests the command-line. So that's what i did. But, you can break it if you first mucked with the GPO's (like I did). But MS Support saved the day: http://support.microsoft.com/kb/969304

Do this to begin with: http://technet.microsoft.com/en-us/library/cc786897.aspx

For peers: "time.nist.gov" or "time.windows.com". I used NIST's ntp server, don't know why but i did.


Then from your client machines connected to the domain, they should use the PDC as an authoritative source. MS says do this: http://technet.microsoft.com/en-us/library/cc758905.aspx

I did the following on my client:

w32tm /config /syncfromflags:domhier /update

But then called w32tm /resync instead of using the "Net" command to restart the w32tm service. The /update switch on the first command should take care of that. And indeed, my client resynced with the domain controller's time clock. MAGIC!

I'll throw up a PowerShell script tomorrow :) or maybe Sunday...who knows.


FYI - gpupdate /force is a great way to immediately test your Group Policy changes, but is very dangerous if you're silly and do something stupid. So use with caution.

Tags: , , ,

Technology | IT

Using Windows Server 2008 as your workstation OS

by Scosby Wednesday, January 7, 2009

Here is a great post from VIJAYSHINVA KARNURE for using Server 2008 as your primary workstation OS instead of Vista. Just remember, x64 2k8 requires signed hardware drivers so make sure your vendors provide these.


Tags: ,

General | Technology