In the spirit of this question, I have a windows machine that is a member of an Active Directory network, but the network is unreachable due to mistake in the network configuration that is not yet resolved. However, we can restore connectivity easily if we were able to change IP address.

The problem is, we cannot login except with a cached domain credentials of a non-administrator user that hasn't the privileges to change IP address. Is there anyway in this situation to change the IP address of the machine? Note that:

  • We cannot ship things to the machine or ship the machine back to us, only have it connected to the network.
  • The local user (administrator) is disabled. No other local users were configured.
  • There must be a local administration account, otherwise joining the domain wouldn't have been possible.
    – Daniel B
    Jun 14, 2015 at 12:29
  • @DanielB OP says the local admin account is disabled, presumably after the computer was joined to the domain.
    – user
    Jun 14, 2015 at 12:31
  • 1
    yes, it was disabled afterwards...
    – amyassin
    Jun 14, 2015 at 12:32
  • 2
    To attack this from the other side, can't you set up some form of gateway to temporarily make the IP configuration of your target machine valid? Jun 14, 2015 at 16:01
  • 1
    Try plugging in a USB network adapter (this requires action by a local user, but it shouldn't require IT staff), by default it will have DHCP enabled, you should then have enough network connectivity to login with domain credentials.
    – Ben Voigt
    Jun 14, 2015 at 17:21

5 Answers 5


I've always had success with the "Offline NT password & Registry Editor" found here

No Linux experience required, just follow the instructions to get it onto a CD / USB stick, and go through the prompts (mostly just using the defaults) to re-enable the disabled Admin account and then reset its password.


I shall assume your problem box has these settings:

  • IP =, default gateway =, DNS = (otherwise adjust the numbers accordingly below).

Now proceed as follows, using two boxes TEMPAD (with ip, say) and TEMPDNS (with, say):

  1. RDP to TEMPAD and install the AD role on TEMPAD
  2. On TEMPAD set a static route to host(!) via
  3. From within your RDP session on TEMPAD, start an RDP session to TEMPAD and install DNS on TEMPDNS. It should serve your AD zone; I'm not sure if it should rather serve a crippled AD zone with all references to the 192.168.10.* AD servers removed, see hints below.
  4. Add secondary IPs and on TEMPDNS and enable IP forwarding.
  5. Ask a person at the 192.168.11.* site to turn on the problem computer
  6. When the boot has completed, start an RDP session to from within your RDP session to TEMPAD. You can now login as whoever you want.

Note: The fourth step disrupts connectivity from TEMPDNS to your 192.168.10.* LAN, but your remote session is stillworking because it is actually originating from TEMPAD in the 192.168.11.* LAN

In step 6 the following magic happens (I hope): The machine asks its configured DNS server (i.e., TEMPDNS) for the address of an AD server. It gets as a reply your original AD servers in 192.168.10.* and (i.e., TEMPAD). Connection attempts to the 192.168.10.* AD servers fail, so ultimately is tried (as I said, it may be better to avoid the attempts to connect 192.168.10.* by crippling the DNS on TEMPDNS). The connection to succeeds: We have a working forward route -> -> TEMPAD and backward rout TEMPAD -> ->

Once all repairs have completed, donÄt forget to undo all the crap above.


You could try to boot some linux distro (i.e. PartedMagic or Ubuntu Live) and use a tool to reset/unlock/remove password of the local Administrator user account. Then you would be able to login to the local user with blank password by typing .\Admisistrator into the username box.

Please see: How-To Geek

NOTE: Only do this if you are familar with Linux, because using this method you could easily broke your Windows OS!

  • That is indeed interesting, but unfortunately no one is familiar with linux there :\
    – amyassin
    Jun 14, 2015 at 12:48

I don't think this is possible without an admin account, reinstalling the OS, or using a live CD of some sort to manually modify the windows config files. However, hope is not lost, since you may be able to boot into the administrator account with some password-bypassing tools like KON-BOOT.

Note0: this method requires you to connect a USB stick to the computer, which may not be allowed by the policy of some organization, in which case - it cannot be used.

Note1: this may require some tweaking of the BIOS in certain cases, so if it is password protected - you'll have to find a way to bypass that too.

Note2: obviously, if you do choose this path, make sure you trust the person who has physical access to the machine, and that he does not mean to use this method to do things he's not supposed to (seeing how he will now have admin access to the machine, if this process works).

Just had another idea:

In the spirit of LiveCD - you could instruct them to take out the harddrive of this machine and connect it to a functional machine (preferrably with network access), giving you, the admin, access to files on the harddrive and possibly allowing you to change the windows configurations.

If you have access to the harddrive, you might be able to modify the hosts file to redirect the wrong IP to wherever you need, or replace\edit the relevant Windows configuration files.

  • I like that, unfortunately the USB is blocked :\ and the KON-BOOT is not free, we cannot buy tools easily.. P.S. I like the numbering :)
    – amyassin
    Jun 14, 2015 at 12:51
  • What do you mean by "blocked"? Are there no physical ports available, or are they disabled in BIOS? In the 2nd case you may be able to instruct the users remotely how to access the BIOS and unblock them. Otherwise, this leaves you with a Windows LiveCD option (just googled it - apparently it exists), however I'm not sure about the license aspects of this method, or if you could change the main os' settings using a LiveCD.
    – Dev-iL
    Jun 14, 2015 at 12:59
  • 1
    @amyassin - I have added another idea to my answer. What do you think?
    – Dev-iL
    Jun 14, 2015 at 13:08
  • blocked is an AV block, it works if we are out of Windows (or the antivirus reign anyway)..
    – amyassin
    Jun 14, 2015 at 13:47
  • This means you technically could use the 1st idea, since it "does its magic" before windows boots.
    – Dev-iL
    Jun 14, 2015 at 13:48

If you have the ability to book the computer from a DVD and have access to the Windows Install DVD, then you can easily gain access.

  1. Boot with OS install DVD
  2. Select the option to repair computer, select OS install, and then select the command prompt option

    CD windows\system32
    ren utilman.exe utilman.exe.old
    copy cmd.exe utilman.exe
  3. Reboot and load OS as normal

  4. Use the Ease of Access Tools (WindowsKey + U or icon in lower left) to get command prompt a. Perform the admin operations (e.g. PWD reset: net user administrator <new password> and then Log in and rejoin to domain)
  5. Reboot with OS install DVD
  6. Return to command prompt

    Del utilman.exe
    Ren utilman.exe.old utilman.exe

What this does is that it replaces the Ease of Access Tools with the command prompt. And as the Ease of Access Tools runs elevated at the login, this therefore gives you an elevated command prompt, allowing you to do any fixes you need. This fix is from the following website: http://www.kieranlane.com/2012/12/12/resetting-administrator-password-windows-2008/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .