Lost Windows 7 Password

Forgot my Windows 7 password. Is there any way to reset my Windows 7 password from the Mac side with bootcamp? Using Terminal perhaps?

I used this with great success on Windows only computers and have never tried with a BootCamp Mac.
http://ophcrack.sourceforge.net/download.php
The Ophcrack Windows password cracker is by far the best free Windows password recovery tool available. It's fast and easy enough for a first time Windows password cracker with a basic knowledge of Windows.
With Ophcrack, you don't need any access to Windows to be able to recover your lost passwords. Simply visit the site, download the free ISO image, burn it to a CD and boot from the CD. The Ophcrack program starts, locates the Windows user accounts, and proceeds to recover (crack) the passwords - all automatically.
In a test on a Windows 7 PC, Ophcrack recovered the 10-character password to my administrator account in 40 seconds. Ophcrack supports Windows 7, Windows Vista, and Windows XP.
Burn CD and the reboot
use option key and hopefully
you can select the CD directly
If the CD doen't show up the choose the Windows side but have the CD in the DVD Player.
Windows should give you the option at the Windows Boot to hit any key to boot the CD. 
The iso is a linux boot disk so hopefully it will work.
Let us all know how you make out.

Similar Messages

  • Recover the lost windows password

    Hi there!
    Just few week before someone requested me for reseting/recovering windows xp lost password.
    Here are the few step!
    Here'an easy way to crack any password on XP...
    The only thing you need is a XP Pro CD and a valid Serial#
    1.Boot off the CD and do a Repair (not from the recovery console)
    2.Setup will copy all the dll's... then your pc will restart and start the next step of the repair(were it give's you all bunch of info about XP)
    3.On the left side of your screen you'll see the progress bar
    4. As soon as you see "Installing Devices" press Shift+F10
    5.This will open a command prompt.
    6.from the command prompt, type nusrmgr.cpl
    7.This command will open the user profile were you can reset any password (including the administrators)
    8.After you reseted the password, simply close the user profile window and the command prompt and let the setup finish the install.
    9.That's it, as soon as the install is done your password will be reseted and you'll have access to everything.
    cheers!
    [email protected]
    thanks dude..for your help..  and correcting my Grammer...

    Step by step instructions on recovering password with a Windows installation Disk.
    1. Insert your Windows operating system CD into your CD drive and start your computer. Make sure that the Drive you selected is the bootable drive.
    2. Usually your computer will state on the screen that it will now boot from the CD or that you will have to press a specific key to boot from the CD. Select the key to boot from the CD.
    3. Now that the computer is booting from the CD, you will see an initial set up screen that says the computer is loading files
    4. After the computer loads some files, a welcome screen will pop up, follow the prompts and press enter to set up Windows.
    5. The next prompt will be the licensing agreement; press accept.
    6. Once you have accepted the licensing agreement, a set up screen will popup that will give you the option to do a repair. Select the repair option.
    7. The repair option should start running immediately and might take a few minutes to check your disks, files, etc.
    8. Once the computer has copied files and scanned your computer it will ask you to reboot your computer or it will automatically reboot your computer. You might see a message that your computer will reboot in 10 seconds.
    9. When the computer reboots, do not press any keys. The computer will automatically reboot and you will see the Windows screen and you will see the message Installing Windows.
    10. It is important to keep your eyes on the lower left corner of the screen. You will see a message pop up. It will state "Installing Devices". When you see this progress bar, immediately press "Shift + F10"
    11. When you press Shift + F10 a command console will pop up giving you access to many system functions.
    12. At the prompt enter the following: NUSRMGR.CPL and press enter. This input will give you access to your graphical access of your user accounts in your control panel.
    13. Since you have forgotten your password, you can choose the account that you need to change or remove the password from. If you want to remove your password so that you no longer have to enter it when logging in, you can enter the following at the command
    prompt: "control userpasswords2". Once you have made the changes, close the window and close the command console. You can now continue with the repair.
    14. Your computer will continue with the repair and ask you for your product ID, enter your product ID. Once your operating system starts up, you will be able to access all your user account with either the new password you created or no password at all. It
    is important to note that this strategy does not damage any of your files or settings. All of your files and settings should be intact.

  • How to reset Windows 7/Vista/XP/2000 password if you forgot or lost windows

    How to reset Windows 7/Vista/XP/2000 password if you forgot or lost windows password
    It is truly very often for us to meet the password problem, sometimes we would forgot windows password or lost windows password, and could not login windows system and make a big trouble. At this time, you would hope to find a way to reset and recover the forgotten password.
    Actually, a lot of methods are available to recover or reset the Windows password. But most of them are designed for PC experts, not common PC users, those solutions are too complicated to get it work for us. And in this article, I will show you a professional software tool which could help you to reset forgotten windows password easily.
    Total Windows Password Reset is powerful password recovery software to reset Windows admin
    passwords for you to login Windows OS without reinstalling the OS when you forgot windows password or lost windows password. It could remove windows password and set the password to blank. Just boot from the program CD/DVD or USB flash drive, choose the account you wish to reset and all will be done. It is not a method to crack or bypass windows password, just remove or delete windows password and set it to blank so you could login windows to set new password.
    Below is the guide of how to reset windows password with this software, only 3 steps are needed to reset windows 7/Vista/XP password:
    Step 1: Download the setup file of Total Windows Password Reset on the official website:
    http://www.resetwindowspassword.net/downloads/totalwpr.exe
    And install it on another PC. Then you could startup the password recovery software to prepare the bootable disc.
    Step 2: Burn the windows password recovery bootable CD/DVD or USB disc with the software.
    Now, you may select “Burn DVD/CD Disc” or “Use USB Disc”. If you select first method, you need to have a blank CDR/DVDR disk, a COMBO or DVDRW drive on the PC. If you select to use USB disc, you just need to pay attention: This USB devices would be formatted, so you must make sure to back up all the data before use it. And the maximum capacity of the USB devices cannot exceed 2G.
    Tips: We recommend you to use the DVD/CD method to do the windows password reset, because some computers may not support USB start-up.
    Below is step by step to show you how to burn the CD/DVD
    1. Launch Total Windows Password Reset main window, Click “Burn DVD/CD Disc” button.
    2. In BurnCC’s main window, click “Browse” button and in the open window, locate the file “TWPR.iso” on your desktop, select it and click on Open to get back to the main window. Then, click “Start” button.
    3 Your DVD drive should open and insert a blank CD-R or DVD-R disc into the drive and close it. Click “OK” button. Your CD will be burned in a few minutes.
    Tips: if there is already a CD/DVD disc in the drive before run the software, the CD drive will open automatically . Please close it again. The process will be continuing.
    Below is step by step to show you how to burn the USB drive
    1 Insert a USB drive into a USB slot on your computer and run Total Windows Password Reset, Click “Use USB Disc” button.
    2 Click“Step1”button. Then, Right-click on the usb_format.exe and choose “Run as Administrator”.
    3 In USB Disk Storage Format window, set the file system to FAT, Check the Quick Format box, check the Create DOS Bootable Disk, Browse to the DOS_files folder on your Desktop, click OK & then Start.
    4. Click OK on the following window and then close the USB format tool. Your USB drive now is formatted.
    5. Click “Step2” button and open the USB drive with your computer. Then, copy the files from the USB_files folder and paste them directly to the USB drives main directory. 2 of the files may become hidden and you will not see them on the USB drive. This is okay. Your USB drive is now complete.
    Step 3: Boot your PC with the burned CD/DVD or USB disc to reset windows password.
    You need to insert the Created CD/DVD or USB drive into the optional drive of the locked computer and reboot it.
    Tips: It your computer still boots from hard drive Windows OS, it's necessary for you to change your COMS or BIOS settings to make it boot from CD/DVD or USB drive. If you don’t know how to set it, you may visit the official website: http://www.resetwindowspassword.net or contact the computer manufacture.
    The computer boots from CD/DVD or USB drive, then
    1 The program will ask for the Windows OS hard drive volume. Enter the ID number of the hard drive volume that Windows is installed.
    2 The program has detected all the user names of Windows and asks which user name password is to be removed. Enter the ID number for the User Name.
    3 The program asks to confirm weather to remove the password or not. Enter "y" (yes) to confirm your action and "n" (no) to deny the action and hit "Enter".
    4 The program asks whether to continue to remove passwords for other accounts. Enter "y" to continue and "n" to finish. Eject your USB from your computer first and press any key to restart the computer from Windows. Now you can log in Windows with an empty password (with no password.), just click “Enter” when you login.
    If you have any questions of the procedure and the settings, you could visit the website:http://www.resetwindowspassword.net or send email to [email protected].
    Now you could see that to reset or recover the admin login password of windows OS: XP, Vista, Windows 7 or 2000 is not so difficult and you can do it with ease.

    Very interest posting. Thank you for this detailed description and useful links.
    If you have more interesting stuff to share with us you are welcome.

  • How to Enhance Security of Windows and Recover Lost/Forgotten Password

    You maybe always get in some troubles with your PC. Lost Windows password? Forgot Windows password? Your PC was hacked? Therefore, it is a basic step for every Windows users to enhance the security of Windows password. In the networks, it is found that a number of user’s passwords are easy to guess. Only the smallest groups are the most security conscious and select passwords that are mixed lowercase and uppercase letters, numbers and punctuation to create cryptic passwords. Adopting strong password is one of the most effective ways to ensure system security. Here are several methods for you to enhance the security of your passwords in Windows 7/2000/XP/Vista and so on. You’d better remember the methods below unless you want to reset Windows password from time to time.
    1. Is random password a great password?
    A common myth is that totally random passwords like Ht3&e#L%5d@$B are the best passwords. This is not true. While they may be strong passwords, they are usually difficult to remember, slow to type, and sometimes vulnerable to attacks against the password generating algorithm. It is easy to create passwords that are strong but much easier to remember by using a few simple techniques. For example, consider the password “Luck-73@Better?”. This password utilizes uppercase and lowercase letters, two numbers, and three symbols. The password is 15 characters long and can be memorized with very little effort. Moreover, this password can be typed very fast. The portion“Luck” and “Better” alternate between left and right-handed keys on the keyboard, improving speed, decreasing typos, and decreasing the chances of someone being able to discover your password by watching you.
    2. Create the long Windows password
    Although a password may eventually be discovered through some means, it is possible to create a password that cannot be cracked in any reasonable time. If a password is long enough, it will take so long or require so much processing power to crack it. That is essentially the same as being unbreakable (at least for most hackers).
    3. Create the Windows password constantly?
    This may be good advice for some high-risk passwords, but it is not the best policy for every user. It is frustrating for a user to have to constantly think of and remember new passwords every 30 days. It may be better to focus on stronger passwords and better user awareness rather than limiting password age. A more realistic time for the common user may be 90-120 days.
    4. Write down Windows password in a proper place
    Sometimes it is necessary for some users losing and forgetting complex passwords easily to write down them somewhere proper. However, it is important to educate users on how to write down passwords properly. Obviously, a sticky note on the monitor is not a good idea, but storing passwords in a safe or even a locked cabinet may be sufficient.
    5. 14 characters is the optimal password length
    Each character that you add to your password increases the protection. Your passwords should be 8 or more characters in length; 14 characters or longer is the Optimal Password Length. Many systems also support use of the space bar in passwords, so you can create a phrase made of many words. It is not easier to forget and lose, as well as longer than a simple password, and harder to guess.
    6. Try not to use the same Windows password for all accounts
    Some users always make the same passwords for every account to make it easy to remember. In that case, when any one of them lost, your other information protected by that password will be in danger as well. It is serious to use different passwords for different systems and accounts.
    7. Do not use some common words that other users maybe guess
    Most of users prefer to use some common words to remember easily, for example, login name, birth date, driver's license, passport number, pets’ name and other words contained their personal information someone knows. In that case, your Windows system will not be safe anymore. Moreover, do remember not to use some words spelled backwards, abbreviations, sequences or repeated characters and adjacent letters, such as, asdfgh, 123456, 888888, abcdef and so on.
    You can smoothly use your Windows now because the strong and powerful Windows password is created successfully, Certainly, I believe that many users lost Windows password and forgot Windows password, then you need have to reset Windows password or recover Windows password. It is a big problem for plenty of Windows users that how to reset Windows password. Many users probably do not know how to recover Windows password and they are puzzled by resetting windows password, for instance, reset Windows 7 password, recover password Windows XP, remove Windows Vista password and other operating systems after they create the password with complex letters, numbers and symbols. However, it is unnecessary to worry and it is said that things will eventually sort themselves out. There are many ways to reset forgotten Windows password, including use windows password reset disk and windows password reset software, like Super Windows Password Reset, a professional windows password reset software which could enable you to logon to Windows smoothly without reinstalling system. You can know more by reference to http://www.passwordreset.biz/. Such was the case with using these kinds of tools.
    These are all my suggestion about methods to enhance the security of Windows password. To create password for your Windows account is not a thing you should do, but a thing you must do by following my advices. It is the important line of defense against hackers. If your Windows password is indeed attacked finally or nevertheless you lost Windows password, you can try out windows password reset tool I mentioned above. The advantage is that there is no fear of leaking your password to outsiders. Certainly, the only better method is still creating the strong password, do remember it and then change one constantly.

    Reported as spam!

  • I lost my password and cannot log on to my MacBook Pro.  MacOS X window opens upon startup, with my log on name, requesting password, but I cannot remember it.  Is there a way to bypass this window and reset my password?  Cannot get to System Preferences

    I lost my password and cannot log on to my MacBook Pro.  MacOS X window opens upon startup, with my log on name, requesting password, but I cannot remember it.  Is there a way to bypass this window and reset my password?  Cannot get to System Preferences or Apple Menu
    Thanks!

    Yes.
    https://discussions.apple.com/thread/4913069

  • Re: How to reset / recover forgotten Windows password

    Forgetting your Windows administrator login password.
    With no way to get into the system, you can't even perform basic maintenance, let alone a thorough tune-up.
    Formatting is always an option, but we consider that a last resort. (Plus, guess who's going to have to help reinstall all the programs lost after a wipe?)
    But all hope is not lost.
    There are a few ways to actually retrieve a lost Windows account password. Read on, and we'll show you the light.
    _1st Method:_
    The first thing which you check if you forget login password. When we install Windows, it automatically creates an account "Administrator" and sets its password to blank. So if you have forget your user account password then try this:
    Start system and when you see Windows Welcome screen / Login screen, press ctrl+alt+del keys twice and it'll show Classic Login box. Now type "Administrator" (without quotes) in Username and leave Password field blank. Now press Enter and you should be able to log in Windows.
    Now you can reset your account password from "Control Panel -> User Accounts".
    Same thing can be done using Safe Mode. In Safe Mode Windows will show this in-built Administrator account in Login screen.
    _2th Method:_
    There are a lot of Windows password revealers and crackers available.
    CIA commander:
    This tool only works on NTFS partitions, but it works great! You can even use it to copy data from one place to another. But it is not for free.
    http://www.datapol-technologies.com/en/Products/Business/CIACommander/main.htm
    Windows password recovery tool:
    but I've found that Windows Password Recovery Tool is the most effective.:
    it not only supports XP, 2000, and NT, I have personally tested it with Vista Home Premium and Ultimate. It works perfectly to reset any local user account to a blank password.
    http://www.windowspasswordsrecovery.com
    pwdump2:
    http://razor.bindview.com/tools/files/pwdump2.zip

    Hi mate
    Thanks for this posting.
    I think it could be useful for other users who forget the Windows password and dont want to reinstall the whole OS again.
    Greetings

  • I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?

    I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?
    I have a 2012 mac book pro can I use that to connect with firewire and load osx that way? and how woudl I do that?
    Thanks so much!

    To what password are you referring? Do you mean your user account's admin password? Or do you mean the master password for File Vault or do you mean a Firmware Password?
    For an admin password:
    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.
    If you cannot do the above then try this:
      1. Boot to Safe Mode by restarting and after the chime press and hold down the COMMAND-S keys until a black screen with white type appears.
      2. At the prompt, type the following commands pressing return after each command line:
         /sbin/fsck -yf
         If you do not receive a "Filesystem OK" message then repeat this command until
         you do.  If after seven tries you still do not receive a "Filesystem OK" message,
         then the system is corrupted and needs to be reinstalled.
         mount -uw /
         cd /private/var/db/netinfo
         mv local.nidb local.old
         rm ../.AppleSetupDone
         shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
    How to reset the OS X password without a startup CD:
    Reboot into Single-user Mode. Enter the following and press RETURN after each command line
       1. Type fsck -fy
       2. Type mount -uw /
       3. Type passwd <username>
    I have never tried this method myself.

  • Lost SUPERVISOR password - can I reset via the database?

    We have lost the password to SUPERVISOR - no other user has supervisor granted to it.
    I have read that using the BI_ODI_REPO schema I could change a user and give it Supervisor rights but I only see the SUPERVISOR user there:
    SQL> select WUSER_NAME, AUT_SUPERVISOR from SNP_USER;
    WUSER_NAME
    A
    SUPERVISOR
    1
    Can I create a user and give them the priv?
    Oracle Data Integrator is 11g Release 1 (11.1.1.5.0) used with Oracle data warehouse Database version 11g ( 11.2.0.2.0).
    On RHEL 5
    Thank you

    Thanks for responding. I did raise a call with support on this, who advised the following. I hope this might help others in the future.
    1. Choose a password <YourPassword> for User SUPERVISOR
    2. Go to the ODI_HOME>\bin directory and invoke a command prompt.
    3. Encode the password using the following OS command (for Microsoft Windows).
    agent encode <YourPassword>
    4. Connect to your ODI Master Repository with your favorite SQL editor.
    5. Run the following SQL instruction to update the PASS field :
    UPDATE SNP_USER SET PASS='<Password obtained in step 3>' WHERE WUSER_NAME ='SUPERVISOR' ;
    Commit;

  • I've lost my password for my Airport, and cannot set up AppleTV without it.  How can I either reset or recover the password?

    I've lost my password for my Airport, and cannot set up AppleTV without it.  How can I either reset or recover the password?

    While you can reset your password, it might be wise to first check and see whether you can retrieve it, which will save you some time as far as setting up new connections on all of your devices with a new password.
    On your iMac.....
    Open Finder > Applications > Utilities > AirPort Utility
    Click on the AirPort router icon, then click Edit in the smaller window that appears
    Click the Base Station menu at the top of the screen....up where the other File, Edit, Window, and Help menus reside
    Click Show Passwords

  • TS3554 Recovering a lost firmware password. I have this problem but I live in Argentina. How I can solve it. Thanks.

    TS3554: MacBook Air (Late 2010) and later, MacBook Pro (Early 2011) and later, iMac (Mid 2011) and later, Mac mini (Mid 2011): Recovering a lost firmware password
    MacBook Air
    I dont remember my EFI password, I have my admin password. I dont know how to reset it.
    I have this problem but I live in Argentina. How I can solve it. I bought this machine last year. Thanks.

    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see:
           Reset a Mac OS X 10.7 Lion Password
           OS X Mountain Lion- Reset a login password,
           OS X Mavericks- Solve password problems,
           OS X Lion- Apple ID can be used to reset your user account password.
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • Lost my password only remember pin

    sir i lost my password of windows 8.1 but i remember the pin but i want to change my password please help me how i get my new password please it urgent

    Hi Anil,
    If you've forgotten your Windows password, there are several ways to retrieve or reset it:
    If your PC is on a domain, your system administrator must reset your password.
    If you're using a Microsoft account, you can reset your password online. For more info, go to the
    Reset your password webpage.
    If you're using a local account, use your password hint as a reminder.
    If you've tried these suggestions and still can't sign in, you'll need to reinstall Windows.
    Karen Hu
    TechNet Community Support

  • Black or blank screen with blinking cursor after entering Windows password

    This document pertains to all HP computers and tablets with Windows 7 and Windows 8 (8.1).
    You can also link directly to this document at this URL
    http://support.hp.com/us-en/document/c04572861 
    Use the following steps if your computer stops at a black screen with a blinking cursor after entering the Windows password.
    On the black screen, press Ctrl, Shift, ESC to open the Task Manager window.
    note:     If the Task Manager window does not open, see Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot.
    Click the Process tab.
    Look for one or both of the following tasks:
    Run Once Wrapper
    Run Once Wrapper (32-bit)
    Right-click the task, and then click the End task button. Windows should start normally.
    On the Windows 8 start screen type Control Panel then click Control Panel in the search results. In Windows 7, click Start then type Control Panel, then click Control Panel in the search results.
    From the Windows Control Panel, go to Programs and Features or Add/Remove Programs.
    Remove any of the following programs. Additionally, remove any other suspected programs that are not listed.
    Remove these suspected programs:
    Binkiland
    SevenZip
    Unchecky
    Image Repair
    SolutionReal
    Vosteran
    JetClean
    Speed Browser
    Web Bar 2.0.5273.16044
    mypcbackup
    Speed Checker
    Wincheck
    Omega Plus
    Spy Clear
    Word Proser
    Optimizer Pro
    Spyware Clear with PC Tech Hotline
    WSE_Binkiland
    Pepper Zip
    Storm Watch
    WSE_Taplika
    Pro PC Cleaner
    Strong Signal
    WSE_Vosteran
    Safe Search
    Taplika
    To resolve all other black/blank screen issues at boot, see Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot.
    To resolve virus and malware issues, see About Spyware, Adware, and Browser Hijacking Software and Using Windows 8 Defender to Prevent Virus and Spyware Problems
    I work for HP, supporting the HP Experts who volunteer their time and technical knowledge to help others.

    This is not what happens.  The screen goes black, no curser or anything, then it comes right back on to the same page I was on when it went out.  It doesn't happen when I login, it happens as I am on a webpage or playing a online game.

  • Hi there I lost my password for my original iTunes account I can't recover it because the email address it is registered under is not longer valid How can I access my old account?

    Hi there.
    I did a factory restore and then restored it with iCloud back-up. I have been using lots of Apple products and i have used three different email adresses. Almost all apps restored perfectly but everytime i try to play a song in the Music app, i asks me for a Apple-ID i had no idea i have used.
    Hence:
    I lost my password for my original iTunes account
    I can't recover it because the email address it is registered under is not longer valid
    How can I access my old account?
    Can't find a place to change the email address to my new one without the password which I no longer remember.
    There is no way to just erase Apple-ID's on my device either.
    What to do? Should i ju give up and start from scratch and delete 2 years of stuf?
    Cheers!

    If you can remember the answers to the security questions when you set up that account - I think that you can reset the password without needing email authentication. You can try it here. Read it and see if it's possible. But if you can't remember the answers to the questions it will not work.
    http://support.apple.com/kb/ht1911

  • How to Delete and Reset a Lost Root Password on a System With a Mirrored ??

    hi All,
    we are experiencing problem,lost root password on Solaris 10 Sparc T5120, with mirror root,
    and we found the solution from Metalink.oracle.com, has anyone have try this??
    here list capture the file system :
    Filesystem size used avail capacity Mounted on
    */dev/md/dsk/d10 2.0G 349M 1.6G 18% /*
    */dev/md/dsk/d40 9.8G 563M 9.2G 6% /usr*
    */dev/md/dsk/d30 9.8G 1.4G 8.4G 15% /var*
    */dev/md/dsk/d50 7.9G 310M 7.5G 4% /opt*
    */dev/md/dsk/d600 3.8G 4.3M 3.8G 1% /home*
    */dev/md/dsk/d602 471M 20M 404M 5% /app/controlm*
    */dev/md/dsk/d601 471M 251M 173M 60% /app/ctsa*
    */dev/md/dsk/d604 4.9G 1.1G 3.8G 23% /app/oramon*
    */dev/md/dsk/d603 20G 11G 8.2G 58% /app/oracle*
    */dev/md/dsk/d606 39G 10.0G 29G 26% /proj/iprdb01/orafra/iprod01p*
    here the step :
    Solstice DiskSuite[TM] Software: How to Delete and Reset a Lost Root Password on a System With a Mirrored Root Disk [ID 1010755.1]
    Solution
    Steps to Follow
    How to delete and reset a lost root password on a system with a mirrored root disk.
    1) Insert the Solaris[TM] Operating System CD-ROM into the CD-ROM drive.
    2) Once the CD-ROM is in the drive, perform a stop-a. This brings the system down to the "ok" prompt.
    3) From the "ok" prompt, perform a single-user boot from the Solaris OS CD-ROM.
    ok boot cdrom -s4) At the "#" prompt, determine which disk is the system's boot disk (containing the root file system). There are several Oracle architectures and various configurations of systems when it concerns a boot disk. As a general rule, most boot disks are attached to controller 0 (c0). Usually, their SCSI target is
    either 3 (t3) or 0 (t0). However, Oracle machines are very flexible, and the boot disk could be at a different location. If you are not sure which disk is your boot disk, perform the following steps to determine the location of the boot device:
    a) # eeprom boot-device
    The output might appear to be simple, such as "disk" or "disk1" or more complicated, such as a pathname "/iommu/sbus/espdma@4,8400000/...../sd@3,0:a".
    b) Make note of the boot-device. If the boot-device is a pathname, it is beyond the scope of this information to provide the location of the customized boot disk. However, for most configurations,
    finding the customized boot disk is an easy task. The "Format" command shows all available disks:
    #format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    (enter its number): c) Enter d to exit format.
    Now, you will have an idea what disks are on the system. Therefore, if the boot-device is "disk" and format shows "c0t0d0" (on some systems "c0t3d0") then that is the boot device. If boot-device
    shows "disk1" and format shows "c0t1d0," then that is the boot device. If format shows multiple disks, then based on what the "eeprom boot-device" command shows, the system's boot disk would be:
    boot-device format
    disk c0t0d0 or c0t3d0 (machine dependent)
    disk1 c1t0d0
    disk2 c0t2d0
    disk3 c0t3d0 or c0t0d0 (machine dependent)
    and so on ....
    5) Because the system was not brought down gracefully (no root password means having to use the Stop-a keystroke to "crash" the system), you need to run "fsck" to clean the root partition (slice). The fsckalso confirms that you selected the proper slice.
    # fsck /dev/rdsk/c1t0d0s0
    where the X and Y are determined by the previous procedure. It is also possible to have a root partition which is not on slice 0 (s0), but, again, that is not a standard configuration.
    The output of "fsck" looks like this:
    ** /dev/rdsk/c1t0d0s0
    ** last mounted on /
    ** Phase 1 .....
    The second line in the output of "fsck" ("** Last mounted on /") confirms that this is the correct root filesystem partition. Answer "y" to any questions fsck asks. There shouldn't be too many items
    needing repair. If there are, there is a possibility of a corrupted root filesystem. After fsck is finished, mount the root partition:
    # mount /dev/dsk/c1t0d0s0 /a
    Again, X and Y are the same as for the fsck command.
    For example:
    # mount /dev/dsk/c1t0d0s0 /a
    6) From the root prompt, set the proper TERM type command (such as vt100, dtterm, sun, and so on)
    by entering this command:
    # TERM=sun; export TERM
    7) Use the VI text editor to edit the /etc/shadow file:
    # vi /a/etc/shadow
    8) The first line of the /etc/shadow file is the one you want to modify.
    It looks like this:
    root:c3.yAVmYodWsc:6445::::::
    9) Delete every character between the first and second colons in the first line of the file. When you finish deleting the characters, the line should look like this:
    root::6445::::::
    10) Press the Escape key, then enter the following to save the file and exit vi:
    :wq!
    11) Use the VI text editor to edit the /etc/system file andremove the "rootdev" line shown below:
    # vi /a/etc/system
    *rootdev:/pseudo/md@0:0,0,blk
    Don't comment out the "rootdev" line. Actually remove it.
    12) In the /a/etc/vfstab file, replace the lines for the system filesystem meta-devices with their underlying partitions. For example, change lines from
    /dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no -
    to
    /dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
    ONLY change the lines for root (/) and the filesystems that were affected by the actions you took in step 1 of this procedure. All other metadevices may stay as is in this file.
    13) Unmount root, check the root filesystem, and then stop the system:
    # cd /
    # umount /a
    # fsck /dev/rdsk/c1t0d0s0
    # stop-a
    14) Boot to single-user mode:
    ok boot -swTHIS STEP IS VERY IMPORTANT; YOU MUST BOOT TO SINGLE-USER MODE TO AVOID FILESYSTEM CORRUPTION.
    If the system does not boot to single user mode, you might have made a mistake in the previous steps.
    15) Because the root password was cleared in an earlier step, press Return when prompted for the the root password. Once you are in single-user mode, you must clear the metamirrors and all the sub-mirrors for the root filesystem. For example, if root (/) is d0, run the following command:
    # metaclear -f -r d0
    Running the metaclear command not only clears the metamirror but also clears the submirrors that are part of this mirror.
    16) When the metamirror is cleared, continue the boot up to multiuser mode by either pressing CTRL-D or by entering the following:
    # exit
    Now everything should be as it was, except that the system partition is on the underlying partition and isn't mirrored. You will simply need to re-create the metadevices for the root mirror as you had originally.
    many thanks

    Hi,
    Halt your machine.
    Boot with fail-safe mode.
    format and list out the disks. (You can get the root & mirror disk (c#t#d#) details from /etc/lvm/md.tab of your root or mirror disk. Earlier explorer output may help)
    Mount the root disk and remove the password entry in /etc/shadow
    umount it.
    Mount the mirror disk and remove the password entry in /etc/shadow
    umount it.
    reboot the server.
    Hope this helps!

  • I have an icloud account that i am trying to delete or change the email on it and i lost the password.  How can i delete the account if i lost the password?

    I have an icloud account that i am trying to delete or change the email on it and i lost the password.  How can i delete the account if i lost the password?

    You can't and shouldn't.  This is what you should do:
    http://support.apple.com/kb/HT2204
    http://support.apple.com/kb/HT1920?viewlocale=en_US&locale=en_US
    http://support.apple.com/kb/HT5621
    http://support.apple.com/kb/HT5312

Maybe you are looking for