How To Change Domain Password On Windows Server 2012
As a DBA I spend a lot of fourth dimension in RDP sessions, both to SQL Servers and to "jump"/pass-through servers on client domains. Virtually clients (unfortunately not all of them - security is important, people!) have some variant of password expiration in their domains requiring regular password changes every 30/ninety/180 days.
Prior to Windows Server 2012, this was relatively straightforward - in the Start Menu select "Windows Security" (sometime hidden under Administrative Tools>>Windows Security):
...which then gives you a friendly card where you lot can cull to "Change A Password":
Piece of cake right?
** Often unknown tip - from the Change Password Prompt:
You can edit the summit line to any account to which yous take access - your accounts in other domains (assuming at that place is admission to domain controllers in the other domain) or fifty-fifty other accounts birthday! Even though I am logged into the higher up server as DOMAIN\agalbraith, I could modify the line to change the password for SOMEOTHERDOMAIN\agalbraith or DOMAIN\SQLServiceAccount,
--
The catch to all of this is that in Windows Server 2012, the like shooting fish in a barrel method...went away. How could they exercise that???
https://themuseletter.files.wordpress.com/2014/11/61225_bill-gates-shrug.jpg |
The Windows Security box is Dead....Long Live the Windows Security box!
--
Hither are three different means to become to the aforementioned screen in Windows Server 2012. These three methods work in Windows Server 2008 and 2008 R2 too, so in one case y'all get used to i of them yous can use it on your former servers as well.
http://cache.gawker.com/assets/images/gizmodo/2009/08/old_pc.jpg |
Maybe not *that* sometime....
--
The first method is the one I have known for a long time, and is very unproblematic. Instead of CTRL-ALT-DEL, utilise CTRL-ALT-Terminate. Nearly of the fourth dimension, this takes you to the aforementioned prompt screen as nosotros saw above:
--
The second method is a picayune more involved, only useful - and I have been in at least 3 situations where I *had* to employ it - once when there was a keyboard mapping mistake in the RDP session (something I take only e'er experienced once) and twice where I was several layers deep in RDP (RDP to RDP to RDP). I establish this method at http://www.tomshardware.com/answers/id-1629393/change-password-ctrl-alt-del-rdp-rdp.html.
From a command prompt, type osk to bring up the On-Screen Keyboard (something I didn't know even existed at the time):
With the OSK up, printing CTRL and ALT on your actual concrete keyboard, and so click DEL on the OSK (CTRL-ALT-DEL all on the OSK just functions like a regular CTRL-ALT-DEL):
BOOYAH!
--
The third method was recently offered up by a member of the squad here at Ntirety, Mike Skaff. Information technology is one more case of #YouCanDoAnythingWithPowerShell.
I don't know where Mike found it, just I was able to find references in a couple of places, including http://wiki.mundy.co/Change_password_on_Remote_Desktop_Server_2012
From a PowerShell prompt, enter the following:
(New-Object -COM Trounce.Application).WindowsSecurity()
Sure enough:
Like the OSK method above, this PowerShell method works from RDP in RDP in RDP as well - and it's PowerShell!
--
Hope this helps!
Source: https://www.sqlservercentral.com/blogs/how-do-i-change-my-domain-password-on-windows-server-2012
Posted by: wilsonfole1966.blogspot.com
0 Response to "How To Change Domain Password On Windows Server 2012"
Post a Comment