Forgetting your password is always a pain, but luckily there’s an easy way to reset your Domain Administrator password. All you need is a copy of the Windows Server 2008 R2 installation disk and one simple command line trick.
Replacing Utilman.exe
Boot off the Windows disk and select the “Repair your computer” option from the lower left-hand corner.
Follow through until you get to the option to open the Command Prompt, which you’ll want to select.
First you’ll want to type in the following command to backup the utilman.exe file:
MOVE C:\Windows\System32\Utilman.exe C:\Windows\System32\Utilman.exe.bak
Now you will need to copy cmd.exe and rename it Utilman.exe:
COPY C:\Windows\System32\cmd.exe C:\Windows\System32\Utilman.exe
Now you can go ahead and reboot your machine. When its done booting up again and you are at the Logon screen click on the Ease of access icon.
The command prompt window will be displayed. To change the password type:
net user administrator *
Once you press enter you will asked to set a new password and then confirm it, when entering your new password don’t worry if you can’t see them as you type, they are invisible, they are however being remembered.
Once you’re logged in again don’t forget to delete Utilman.exe and then rename Utilman.exe.bak back to plain old Utilman.exe.
Reference: www.howtogeek.com/106333/how-to-reset-your-forgotten-domain-admin-password-on-server-2008-r2
Linux Unix MySQL MSSQL Windows Virtuozzo MRTG SNMP SMTP ASP.NET PHP IIS News IT Apache Parallels Plesk CommuniGate GNU GNOME KDE Solaris HP-UX FreeBSD RedHat Fedora CentOS Howto Database Replication Disaster Recovery High Availability High Performance Cluster Dynamic Cluster HTTP Proxy Squid Email Groupware Collaboration Instant Messenger Voice over IP VoIP IPSec Tunnel VPN Sniffer Software System Engineer Programmer Programming Certified SSL PKI Authentication script
Monday, July 29, 2013
Monday, July 8, 2013
Failed to create semaphore for stats file (/var/run/dirsrv/slapd-hostname.stats). Error 13.(Permission denied)
Can't start dirsrv service with error "Failed to create semaphore for stats file (/var/run/dirsrv/slapd-hostname.stats). Error 13.(Permission denied)".
Solution
check permission of /dev/shm if it is writable.
ls -l /dev | grep shm
to grant write permission to all users.
chmod 1777 /dev/shm
then try to restart dirsrv service
/etc/init.d/dirsrv restart
Solution
check permission of /dev/shm if it is writable.
ls -l /dev | grep shm
to grant write permission to all users.
chmod 1777 /dev/shm
then try to restart dirsrv service
/etc/init.d/dirsrv restart