ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to reset password in windows and linux server editions

Updated on October 16, 2014

Password Recovery

Could be said as above but some time when problem occurs we used to try third party tools to get the things faster and even in worst cases need to buy some. This is most annoying mishap in a day2day and datacenter routine. There some functions already provided in the Linux Operating system but for windows machine need to try some tricks.

Boot Menu while starting machine
Boot Menu while starting machine | Source
Boot Menu while choosing the recovery mode
Boot Menu while choosing the recovery mode | Source
Boot Menu while editing the Kernel Parameters
Boot Menu while editing the Kernel Parameters | Source
Booting machine with Windows 2008 Installer - Choose Next
Booting machine with Windows 2008 Installer - Choose Next | Source
Booting machine with Windows 2008 Installer - Choose repair
Booting machine with Windows 2008 Installer - Choose repair | Source
Booting machine with Windows 2008 Installer - Choose Load Drivers
Booting machine with Windows 2008 Installer - Choose Load Drivers | Source
Booting machine with Windows 2008 Installer - Click on the Computer Icon and rename the files as mentioned in the steps using GUI
Booting machine with Windows 2008 Installer - Click on the Computer Icon and rename the files as mentioned in the steps using GUI | Source

Password Recovery in Linux machine

For Redhat machines follow the steps below to recover the root password : -

1. Reboot the machine.

2. In the boot menu click on the letter 'E' .

3. Boot menu will explode into the editing mode and with need to edit the kernel statement most probably the second line and then again click letter 'E' to edit the same. When you find the line is editable then type : SPACE + '1' at the end of the line. This will help the machine to boot into the emergency mode single user.

4. Press "Enter" to get into the menu back and then press letter 'B' to boot the machine.

5. After boot system will show the "#" prompt and then type command "passwd" to change the password of the root user.

#passwd

For Ubuntu Edition follow as below: -

1. reboot the machine. Then go to the boot menu.

2. Choose recovery mode in the boot menu. After that You will get the root prompt in a single user mode. Where user can change default user and root password by the tying as below: -

#passwd

new password:

confirm password:

3. If recovery case is not displayed in the menu then choose the default selection and and press letter 'E' to edit the parameters. Now choose the line starting for kernel definition .. most probably the second option in the menu after pressing letter 'e'.

4. Now go to of the end of the line and replace "ro quiet splash" to "rw init=/bin/bash". After that press enter and choose letter 'b' to reboot the machine.

5. After reboot u will get the single user prompt with root permission where you can change the password as mentioned in the step "2".

How to reset password of Windows machine e.g Windows server 2008 server -

1. Restart your Windows server 2008 DC with the installation CD

2. Choose your language and click next

3. Select your partition and installation version and click Next


4. Click on Comm and Line Prompt


5. Change directory to the access the system 32 directory. Then your original C:drive is changed to D: or E: depending on the number of drive and partitions you have on that system.

6. Rename the file Utilman.exe to Utilman.exe.bak using the comm and Copy Utilman.exe Utilman.exe.bak.

7. Using Command Move Cmd.exe Utilman.exe to move CMD.exe file into Utilman.exe. Press O or Y to accept after that restart your Computer normaly

8. At the user logon screen, press a combination of Windows KEY+U, then the CMD.exe will appear. Type net user “Username””new password”;

Then your system Admin Password is reset. Please don’t forget to rename back Utilman. Exe ->Cmd.exe and Utilman.exe.bak-> Utilman.exe after getting back access.

ALTERNATE METHOD -

1. repeat the steps 1 and 2.

2. Then click on the load drivers on the screen Install now.

3. There click on the computer icon and repeat the steps 5, 6, 7, 8 as mentioned above. the only thing is you have to work on the windows explorer to complete the renaming of the files.

Note : As mentioned in the Images uploaded.

There also so many other third party tools to do the same for example Ophcrack.

Comments

    0 of 8192 characters used
    Post Comment

    No comments yet.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)