From: Ollakal on

Hi

I forgot the password, for my server ( windows 2003). Is there any way I can
bypass the loging?

Thanks

--
Raghu Ollakal
System Administrator
From: Pegasus [MVP] on
"Ollakal" <ollakal(a)hotmail.com> wrote in message
news:2241FAD8-7CED-4982-9E4D-C8148050C5A5(a)microsoft.com...
>
> Hi
>
> I forgot the password, for my server ( windows 2003). Is there any way I
> can
> bypass the loging?
>
> Thanks
>
> --
> Raghu Ollakal
> System Administrator

Google is your friend. Type the words

forgot windows password

into a Google search box. You'll be amazed at the number of hits! The
Nordahl boot disk/CD is a particular favourite in such cases. The next thing
is to plan ahead so that you will never again end up in this awkward
situation: Create at least one other admin account and record its details on
a sheet of paper that you keep in a safe place. Having a single admin
account on a server is unthinkable.

From: Valdas Adomaitis on
Hello,

Given that you mean you forgot your AD password I've saved an article some
time ago. I have tested it on virtual machine.
Original was at: (link broken)
http://www.shijaz.com/windows/forgot_admin_password_2k3.htm

I forgot my Windows 2003 domain administrator password! Now what?
Shijaz Abdulla, MVP

www.shijaz.com/windows

This article explains how to reset a domain administrator password when you
have forgotten it. This method will not work on Windows Server 2000. Click
here for a Windows 2000 version of this article.

Pre-requisites

To successfully complete the procedures mentioned in the article, you need
the following:

· Local access to domain controller using local administrator
password.
· Physical access to the domain controller.
· SRVANY and INSTSRV tools which are provided in the Microsoft
Resource Kit. You can download them here.

Step 1. Start Windows in Directory Services Restore Mode

1. Start (or reboot) your domain controller.
2. Press F8 while Windows starts
3. Choose “Directory Services Restore Mode” from the menu that appears.
4. Log in as the local administrator on the domain controller

Step 2. Using SRVANY utility
1. Copy SRVANY and INSTSRV tool to a folder, say C:\Tools
2. Open Command Prompt, and change to the C:\Tools directory. Then
type the following command:
instsrv PassRecovery “c:\tools\srvany.exe”
3. Start Registry Editor. (Start à Run à REGEDIT.EXE)
4. Navigate to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\PassRecovery
5. Create a new subkey called Parameters and add two new values.
name: Application
type: REG_SZ (string)
value: d:\temp\cmd.exe (you also must create that folder and copy cmd.exe to
it)

name: AppParameters
type: REG_SZ (string)
value: /k net user administrator Password /domain

Replace Password with the desired new password. Password has to comply with
password complexity requirements.

6. Go to Control Panel à Administrative Tools à Services.
7. For PassRecovery, open the Property tab. Make sure the Startup type
is automatic. On the Log On tab, select the option Allow service to interact
with the desktop.
8. Restart Windows normally. SRVANY utility will automatically reset
the domain admin password.

Step 3. Clean Up!

Now for the important part: cleaning up!

1. Log on with the administrator account using the newly assigned
password.
2. Uninstall the SRVANY password by typing these commands in the
Command Prompt.

net stop PassRecovery
sc delete PassRecovery

If you do not do this, the password will change back to what you set in step
3.5 everytime the server restarts!

On Windows Server 2003, the setpwd or NET USER trick won't work. Here, if
you want to change the Directory Service Restore Mode Administrator password
you'll need to use the following method:

1. Click, Start, click Run, type

ntdsutil
and then click OK.

2. At the Ntdsutil command prompt, type
set dsrm password

3. At the DSRM command prompt, type one of the following lines:
To reset the password on the server on which you are working, type

reset password on server null

The null variable assumes that the DSRM password is being reset on the local
computer. Type the new password when you are prompted. Note that no
characters appear while you type the password.

or

To reset the password for another server, type

reset password on server <servername>
where <servername> is the DNS name for the server on which you are resetting
the DSRM password. Type the new password when you are prompted. Note that no
characters appear while you type the password.

4. At the DSRM command prompt, type q.
5. At the Ntdsutil command prompt, type q to exit.
You can now use the Administrator account to log on to Recovery Console or
Directory Services Restore Mode using the new password.

Best Regards,
Valdas
"Ollakal" wrote:

>
> Hi
>
> I forgot the password, for my server ( windows 2003). Is there any way I can
> bypass the loging?
>
> Thanks
>
> --
> Raghu Ollakal
> System Administrator