Video - Reset a Lost Administrator password in Windows Server

12 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€92.72
List Price:  €129.81
You save:  €37.09
£79.26
List Price:  £110.97
You save:  £31.71
CA$135.49
List Price:  CA$189.69
You save:  CA$54.20
A$153.49
List Price:  A$214.89
You save:  A$61.40
S$134.92
List Price:  S$188.90
You save:  S$53.97
HK$782.50
List Price:  HK$1,095.53
You save:  HK$313.03
CHF 90.16
List Price:  CHF 126.23
You save:  CHF 36.07
NOK kr1,085.06
List Price:  NOK kr1,519.13
You save:  NOK kr434.06
DKK kr691.90
List Price:  DKK kr968.69
You save:  DKK kr276.78
NZ$167.41
List Price:  NZ$234.39
You save:  NZ$66.97
د.إ367.19
List Price:  د.إ514.08
You save:  د.إ146.89
৳10,980.73
List Price:  ৳15,373.46
You save:  ৳4,392.73
₹8,335.04
List Price:  ₹11,669.39
You save:  ₹3,334.35
RM472.40
List Price:  RM661.38
You save:  RM188.98
₦139,532.04
List Price:  ₦195,350.44
You save:  ₦55,818.40
₨27,813.53
List Price:  ₨38,940.06
You save:  ₨11,126.52
฿3,638.31
List Price:  ฿5,093.78
You save:  ฿1,455.47
₺3,237.16
List Price:  ₺4,532.16
You save:  ₺1,294.99
B$501.53
List Price:  B$702.17
You save:  B$200.63
R1,888.66
List Price:  R2,644.21
You save:  R755.54
Лв180.76
List Price:  Лв253.07
You save:  Лв72.31
₩134,741.70
List Price:  ₩188,643.77
You save:  ₩53,902.07
₪367.71
List Price:  ₪514.81
You save:  ₪147.10
₱5,617.33
List Price:  ₱7,864.49
You save:  ₱2,247.16
¥15,132.45
List Price:  ¥21,186.03
You save:  ¥6,053.58
MX$1,658.17
List Price:  MX$2,321.51
You save:  MX$663.33
QR364.88
List Price:  QR510.84
You save:  QR145.96
P1,378.06
List Price:  P1,929.34
You save:  P551.28
KSh13,256.67
List Price:  KSh18,559.87
You save:  KSh5,303.20
E£4,744.14
List Price:  E£6,641.99
You save:  E£1,897.84
ብር5,687.29
List Price:  ብር7,962.44
You save:  ብር2,275.14
Kz83,433.85
List Price:  Kz116,810.73
You save:  Kz33,376.88
CLP$98,290.17
List Price:  CLP$137,610.17
You save:  CLP$39,320
CN¥722.08
List Price:  CN¥1,010.95
You save:  CN¥288.86
RD$5,924.54
List Price:  RD$8,294.60
You save:  RD$2,370.05
DA13,479.97
List Price:  DA18,872.49
You save:  DA5,392.52
FJ$225.66
List Price:  FJ$315.94
You save:  FJ$90.27
Q780.13
List Price:  Q1,092.22
You save:  Q312.08
GY$20,949.30
List Price:  GY$29,329.86
You save:  GY$8,380.56
ISK kr13,941.60
List Price:  ISK kr19,518.80
You save:  ISK kr5,577.20
DH1,013.74
List Price:  DH1,419.27
You save:  DH405.53
L1,764.37
List Price:  L2,470.19
You save:  L705.82
ден5,702.11
List Price:  ден7,983.18
You save:  ден2,281.07
MOP$806.29
List Price:  MOP$1,128.85
You save:  MOP$322.55
N$1,909.24
List Price:  N$2,673.01
You save:  N$763.77
C$3,682.20
List Price:  C$5,155.22
You save:  C$1,473.02
रु13,347.49
List Price:  रु18,687.02
You save:  रु5,339.53
S/372.08
List Price:  S/520.93
You save:  S/148.85
K382.87
List Price:  K536.04
You save:  K153.16
SAR375.15
List Price:  SAR525.22
You save:  SAR150.07
ZK2,481.24
List Price:  ZK3,473.83
You save:  ZK992.59
L460.94
List Price:  L645.33
You save:  L184.39
Kč2,346.52
List Price:  Kč3,285.22
You save:  Kč938.70
Ft36,532.34
List Price:  Ft51,146.74
You save:  Ft14,614.40
SEK kr1,069.05
List Price:  SEK kr1,496.71
You save:  SEK kr427.66
ARS$85,802.56
List Price:  ARS$120,127.02
You save:  ARS$34,324.45
Bs691.35
List Price:  Bs967.92
You save:  Bs276.56
COP$386,901.39
List Price:  COP$541,677.43
You save:  COP$154,776.03
₡50,320.66
List Price:  ₡70,450.94
You save:  ₡20,130.27
L2,469.73
List Price:  L3,457.73
You save:  L987.99
₲739,686.52
List Price:  ₲1,035,590.72
You save:  ₲295,904.20
$U3,756.16
List Price:  $U5,258.77
You save:  $U1,502.61
zł399
List Price:  zł558.62
You save:  zł159.61
Already have an account? Log In

Transcript

Greetings, I'm Professor Kay. And in this short video presentation, we're going to see how we go about resetting a lost administrator password on Windows Server. This procedure that you're about to be shown will work on server 2016, and server 2019, and it will work on server 2012. For this demonstration, I'll be using one virtual install server 2016 running as a standalone server. But this procedure will work on a domain controller as well. So for my virtual machine, I'm just going to right click on it and I'm going to go to Settings.

On this next screen, we're going to select storage. From here I'm going to go down to my optical drive, and I'm going to browse on over until I find the location for my ISO image for that particular version of Windows Server. In this case, I need the ISO image for server 2016. I'm going to double click it and now you're going to see That you have the ISO image mounted inside of this optical drive. Now, if this were an actual physical machine, I would just insert the medium, that would be the DVD that contains the setup files for my server 2016 into the DVD drive of that physical machine. And then I would configure the machine to boot from the DVD as its first boot option.

And that would give me the option to start the installation process, which is how we're going to get the repair option. And now we're ready to go ahead and boot. So I'm going to go ahead and start the virtual machine. And in just a moment, we'll begin the actual installation. Well, we're going to select the repair option, instead of doing a full blown install, so we have this option here. And that's the option that we need to be able to boot from that DVD to get the repair option.

So you saw how I was able to go ahead and start the installation process just by pressing any key on my keyboard. Now we're going to go ahead on this first screen before starting the installation, and just click Next. Now on the second screen, you notice that you have the repair option down here at the lower left corner, go ahead and click on that. And on this next screen, we're going to select troubleshoot. And from the next screen, we're going to select the command prompt, we now need to get access to our windows directory that belongs to our actual installation of server 2016. That is running this virtual machine.

Now normally, you would think that would be the C partition. But in this case, it's probably not going to be your C partition, it'll probably be the D partition. So if we just type in D colon, and we hit enter, you'll notice that it comes up to the D prop and if I type in dir, you'll notice that I do have a Windows directory available right here. For the Microsoft Windows operating system as far back as I can remember, everything that needs to happen it's going to happen inside of the system 32 folder. This is where all of the executable All the all of the DLL all of your utilities are located. So we're going to change directory on over to Windows backslash system 32.

When I do this and I hit Enter, you'll notice that my prompt changes to let me know that I am now inside of the system 32 directory when you boot up windows for the first time or anytime and you get to that log on screen underneath there waiting for you to use is a utility called utils. Man daddy xe. This allows you to configure some things such as the accessibility options, which includes the magnifier, your high contrast theme, the narrator and your on screen keyboard. Let's take a look at that real quick. I am sitting at the screen for a server 2019 installation. But it would be the same if I was looking at server 2012 or server 2016.

Now if I want to bring up the utility man, all I have to do is press the Windows key and the letter U Let's see if that works here. And there's the utility man dy dx. Now we're going to use this utility, but we're going to trick it into giving us the command prompt instead of these accessibility options. And let's see how we do that. So we know that we have access to the utility man dot txt utility at log on. So what I'm going to do is rename the utility man daddy xe to something other than you feel man, Daddy xe such as utility man.xc dot old, and then I'm going to make me a copy of the command prompt.

And I'm going to name that utils man dot e xe. So at my prompt, I'm going to type in Rn, that's the Rename command. And I'm going to follow that up with the name of the utility that I want to rename, give it a space and then I'm going to type in the new name that I want that utility to be referred to by. So I've typed in our in for the Rename, give it a space. I want to rename the utility Daddy xe to YouTube man daddy xe dot O. I'm gonna go ahead and hit enter. Notice that my command prompt comes right back to me, let me know that that command completed successfully.

So my utils man, Daddy xe utility has been renamed, so it's not going to be accessible from the log on. So I need to get something else up there that I can use, and in this case is going to be the command prompt. So I'm going to make me a copy of the command prompt. And I'm going to name it utils dot e xe, so that when I do hit the Windows key plus the letter U at the log on screen, I will be presented with a command prompt instead of the utility man daddy x utility. So that I can make all of this work, I have made a copy of my command prompt. And I have renamed that copying to utils man, Daddy xe, I'm going to go ahead and hit Enter.

And it lets me know that the command completed successfully now to see if I'm right about this I can go ahead and check the size of my command prompt and the size of my Utila man daddy xe using the DIR command and see if they are both the same. So you can see that my command prompt by use the DIR command, this one right here shows me that the size of my command prompt is 2000 or 232,960 bytes. And that is the same size I'm now showing for my utility and daddy xe. So I know that my command prompt has been copied over and renamed to utility man daddy xe and I'll be able to have access to it. When I type in that Windows cluster up. We're all done with the command prompt so we can just type in exit and we can exit out of here we come back to our repair options, and now we can select Continue.

And that's going to allow me to boot on Do not hit enter this time. Go ahead and just let it boot up normally and it will find the actual virtual drive that we created for server 2016, and boot to the desktop. So I'm now at the screen where I can hit Control Alt Delete to attempt to login, but I don't know the administrator password, so it's not going to do me any good, I need to change it. So let's go ahead and use that Windows Key Plus, you can bring up the command prompt. And there's our command prompt. Now, to change the administrator password, I'm going to use the net user command.

So I'm going to type in net user and the account that I want to change which is administrator. And now I'm going to type in the new administrator password. I'm going to hit Enter, and then it lets me know that the command completed successfully if this were a domain controller, I would have to type in net space user the account that I want to change the password for and then the password but then I'd have to follow it up with a forward slash domain and that will change the administrator password for active directory. On a domain controller. So we're all done here. We're now ready to go ahead and log in.

So I'm going to go ahead and send over it ctrl alt, delete. And now I'm going to type in my new password. And it lets me know that the command did work, because I can log in now with that change passwords. So that's how you're going to go about changing the last administrator password prior to server 2016. Server 2019. And yesterday will work for server 2012, as well.

Now personally, I don't see nothing wrong with replacing the utility man daddy xe with the command prompt and just leaving it, but if you're so inclined, that you want your utils man dot txt utility back on your server, you just repeat the repair process and go back in and do a renaming process which I'll show you now. So if you would like to make that change to your utils dot e xe utility, just again, go into the settings for your installation Going to storage, select your optical drive. And again, you're going to bounce on over and find the location for that 2016 ISO image could select that say okay, and we're going to go ahead and start up and again, we're going to begin the installation process, but we will be selecting the repair option. And there's an option I hit Enter. And now we're going to, again have that first screen and then we're going to move on to the second screen and select the repair option.

So I'm gonna go ahead and say next, and there's my repair option. Again, I'm going to select troubleshoot. And again, I'll select command prompt. Just as before, I'm going to have to go into my D drive. And now I'm going to move myself on over to the system 32 folder by typing in CD, Windows backslash system. 30 to check my spelling and I have an extra space there.

Let's get rid of that. And I'll hit Enter. And you'll notice that my prompt changes, let me know that we're back inside of the system 32 directory. So you got to remember that we made a copy of the command prompt. And we renamed that to utils man daddy xe. So what I have to do now is rename that file to something other than utils dot e xe to do this, I'm just going to type in Rn, space utils man and now I'm going to give it a nother name.

So I'm going to call this one utl man 123 just like that. That comes back to the prop letting me know that that command completed successfully now I'm going to copy on over the original utils man that we renamed you chill man, Daddy XC dot o and I'm going to give it back. Its original So I'm going to copy on over you kill man, Daddy XC dot old. And I'm going to rename it to its correct name of utils man, dot EFC comes back let you know what that file was copied on over. And now if I would like to check, make sure that that file does exist, I can just type in dir u plus an asterick. And I can just bring up everything.

And I can find the utility man. And there it is right here. So I know at this command did work and I do have my utility man dot txt back. But as I stated for a server, where the administrator is the only one logging on, I see nothing wrong with just leaving your utility man daddy xe available to provide you with the command prompt. So I'm going to go ahead and just tell it to continue on. And we're just going to go ahead and boot up and then we'll test Are you chill man daddy to make sure he's back in place.

So we're back up to that option where we can send Over a Ctrl Alt Delete to log on. So I'm going to go ahead and try out my windows plus my you and see if I get that you feel man daddy xe. And there it is. So we know that that work and everything's back to its normal self and we're ready to move on and be able to use this domain controller with our new administrator password. That's going to conclude this short video presentation on how we go about resetting the administrator password for either server 2016 server 2019 and yes, server 2012. Now if you have any questions or concerns about anything that was covered in this video, or in the lab file, please don't hesitate to reach out and contact your instructor and I'll see you in my next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.