Prompts me for a Safe Mode Password and the reenter

When I add a ADDS object powershell still prompts me for a Safe Mode Password and the reenter even thought I have the code below.
Where am I going wrong?
$SecurePassword = ConvertTo-SecureString "E#$rty1248" -Asplaintext -Force
Install-ADDSForest `
-SafeModeAdministratorPassword $SecurePassword `

Please try it that way:
-safemodeadministratorpassword (convertto-securestring "Password1" -asplaintext -force)
However, this is highly discouraged.
Instead, I would recommend storing the obfuscated password in a file and then re-use it:
$file = "c:\pw.txt"
$pw = read-host -prompt "Password:" -assecurestring
$pw | ConvertFrom-SecureString | Set-Content $file
-safemodeadministratorpassword (Get-Content $File | ConvertTo-SecureString)
More details here: https://technet.microsoft.com/en-us/library/jj574166.aspx?f=255&MSPPError=-2147217396
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile

Similar Messages

  • Windows 8.1 safe mode password doesn't work

    Using HP Pavilion 23 all in one model 23-b037c, 2012 windows 8.1.
    During testing for internet connectivity was instructed to initiate msconfig and reboot in Safe Mode.
    After rebooting the sign in security screen asked for my password.  I entered my password that has worked for long time., but system said password incorrect reenter.  tried numerous other passwords non accepted.  changed MS account PW no good. Worked with HP support several hours for 2 days, trying all advanced trouble shooting solutions they recommended. Ran restore, backup and recovery  etc. all failed.  After one backup attempt error message said must get out of SAFE Mode.
    How do you do this without correct password?
    Ran Hard disk test  passed OK. Now having to clean and remove all programs and personal files per HP Tech.. Will take several hours per HP sTech.  Then  will try again to run System recovery to original manufactures settings.  Huge mess.
    Big problem. Hope this works. 
    Q. Anyone ever have this problem?
     How do you bypass password security screen to access Windows 8.1 without going through this extensive process? tried several password recovery options non worked.
      Tried all Advanced troubleshooting options offered by HP Tech.
    Preplexed and need help. Thanks

    Hello @ea2,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how the Windows 8.1 safe mode password does not work on your desktop computer, and I would be happy to assist you in this matter!
    To disable the built-in administrator account for Windows 8.1, I recommend following the steps in this document on How to Enable or Disable Built-in Elevated "Administrator" Account Windows 8 and 8.1. This should help to enter your password when booting into Safe Mode.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password. Please help.

    I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password.
    All I did was place my phone on the charger, I then walked away for 10-15mins and when I came back it was asking me to enter my Apple ID password.
    I never gave my password out to anyone ever and hardly anyone knows my email address.
    I haven't recently downloaded anything either and I only have one apple device which is my iPhone 5s.
    I just want to know really if it could have been because someone was trying to log into my Apple ID?
    Please help with multiple reasons why this could have happened. I just want to know the options. Thank you

    My iPhone 5s did the same thing yesterday. I have iCloud backup turned on in Settings > iCloud > Storage & Backup and that means it will automatically do a backup when the phone is plugged in, locked and connected to wi-fi. I had it charging and when I returned it was asking for the password and the prompt did identify that it was requesting it for the iCloud backup (something you may not have noticed if you didn't look closely).
    It has never done that before and 2 iPads in my household have not yet done it. All are on iOS 7.1
    I have found a report of the same issue by a user of the 7.1 beta and in that case it was happening every day. In my case I entered the password then went to the same area in Settings as above and used the "Backup Now" button to do a backup. I will see tonight when I charge again whether this is going to be an every day problem.

  • TS2529 I recently got a new iphone and some of my apps don't work anymore. When I try to open them they either crash immediately or my phone asks for my iTunes Store password and then the app crashes. Any ideas? Help!

    I've tried to uninstall and reinstall the app but nothing happens. When I try to open the app, it either crashes immediately or asks me for my iTunes password and the the app does nothing or crashes. Has anyone else had this problem? Any suggestions? Also, it seems that my phone asks me for my iTunes password randomly, when I'm not trying to open apps.
    The app that I have the most problem with is the Simpsons game. I've tried to contact EA as well as apple and gotten nowhere.
    Please help if you have knowledge of what to do
    Thanks!

    If you get an error that says can't backup, try moving the existing backup file to a safe location and thry again. again. You can find the location of the backup file here:
    iPhone and iPod touch: About backups

  • I had an old account for my apple I.D and the email that i had expired, so I switched my apple I.D as my recent gmail, but it still asks me for my old apple I.D and password, what do I do

    I had an old account for my apple I.D and the email that i had expired, so I switched my apple I.D as my recent gmail, but it still asks me for my old apple I.D and password, what do I do?

    Go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I deleted my old email address and added a new one, after my iPhone died iCloud keeps popping up asking for the password of my old email address. I can't remember my password and the account is still gone, it pops up every few seconds. How can I fix this?

    I deleted my old email address and added a new one, after my iPhone died iCloud keeps popping up asking for the password of my old email address. I can't remember my password and the account is still gone, it pops up every few seconds. How can I fix this?

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • I gave my father a mini ipad and he forgot the icloud password and the e mail for recovering it.  How can I recover the password or create a new one if I have no idea at all of the info he configurated.?? ;(

    I gave my father a mini ipad and he forgot the icloud password and the e mail for recovering it.  How can I recover the password or create a new one if I have no idea at all of the info he configurated.?? ;(

    He will have to contact Apple and speak to someone in account security if he can't recover it at https://iforgot.apple.com/appleid

  • Hi I lost the ICloud password and the mail address for it is freezing by the hostage ( hotmail ) so how can I enter my ICloud Account

    Hi
    I lost the ICloud password and the mail address for it is freezing by the hostage ( hotmail ) so how can I enter my ICloud Account

    Hello Cheif Auditor,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Best of luck,
    Mario

  • Why do I keep getting a pop up box asking me to enter my apple id and password - and the id in the box is not mine? Is it phishing for my password?  How do I get rid of it?

    I keep getting a pop up box on my iPhone asking me to enter my password - and the apple id does not match mine.  I click 'Cancel' but it keeps reappearing and interfering with other apps.  What did I do to get this and what do I do to get rid of it?  Is it someone or something phishing for my password?  The only app I recently downloaded was PF Chang's and I got that directly from the App Store.

    Try signing out and then back in again by going into Settings>Store>Apple ID:>Sign Out>

  • My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn'

    My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn't work either. Thanks for any help.

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • After the install upgrade my imac wont load anymore i tried to do a safe mode load and wehn i do at the end of it it tells me that i have a "systemShutdown false" what does this mean

    after the install upgrade my imac wont load anymore i tried to do a safe mode load and wehn i do at the end of it it tells me that i have a "systemShutdown false" what does this mean

    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partitirion & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • MY APPLE TV ASK TO DOWNLOAD AN UPDATE BUT WHEN IT FINISHED IT ASKED ME FOR MY WI-FI PASSWORD AND I DONT HAVE A WI-FI PASSWORD WHAT CAN I DO?

    MY APPLE TV ASK TO DOWNLOAD AN UPDATE BUT WHEN IT FINISHED IT ASKED ME FOR MY WI-FI PASSWORD AND I DONT HAVE A WI-FI PASSWORD WHAT CAN I DO?

    is your wifi network 100% open then?
    if your router have a default name rather then one you set
    then maybe it's trying to connect to another wifi network with the same name
    or just another wifi network all together

  • Hi i changed my apple ID and password and the old apple ID is still poping up asking for password i type in and doesnt bring to page i want . this started when i treid learning about icloud

    hi i changed my apple ID and password and the old apple ID is still poping up asking for password i type in and doesnt bring to page i want . this started when i treid learning about icloud

    See the iCloud FAQ: your iCloud account is tied to the Apple ID used to set it up: Creating an iCloud account: Frequently Asked Questions

  • Just upgraded IOS to V7 and iphone is asking for a password and the online password will not work. I really need to get this sorted as I am away and need to get the phone working.

    Just upgraded IOS to V7 and iphone is asking for a password and the online password will not work. I really need to get this sorted as I am away and need to get the phone working.

    Pablos1966 wrote:
    Surely the current ID and Password would work . Anyway I will see how I get on with the Device Password.
    No. If you failed to turn off Find my iPhone BEFORE you upgraded to iOS 7, you will need the original Apple ID and password. If you upgraded to iOS 7 you will need this info; there is no way around this. If it is the device passcode you will need to restore your iPhone in order to reset that, which in the end will require your Apple ID and password in order to activate the phone once it is restored.
    Why don't you have the original Apple ID? Where did you get the phone?

  • I want to change my Apple ID for IPad because forgot password and all email addresses changed so cannot get informations for password reset. What can I do?

    I want to change my Apple ID for IPad because forgot password and all email addresses changed so cannot get informations for password reset. What can I do?

    I was wondering if you ever figured this out. I have the same issue. When I try to use the support communities, there are so many with the same problems and never seem to be any replys?? Not very helpful and I can not get Apple to return my emails.

Maybe you are looking for

  • Need help with my apple tv

    I need help with my I tunes billing

  • Recommendation for external monitor

    I have a G4 12" 1.5 GHz PowerBook with 768 MB of RAM, currently running 10.4.7. I'd like to buy an inexpensive external monitor, and am currently looking at a Dell 19" flat panel (model number SP1908FP). I'm pretty ignorant about monitors; I've read

  • PO  with reference to Purchase requisition

    Hi Friends Good Morning, could you please help me out on one issue.My Client requirement is that Purchase order should be created only with reference to Purchase requisition.How can this be done please help ASAP. Regards VS

  • BO Explorer 4.0 Installation error

    Hello I am installing a Business Objects server for my client but Explorer 4.0 installation fails System is: Windows Server 2008 R2 - 16x vCPU - 52 GB RAM - 300 GB Disk Installed software: SAP Business Objects Server 4.0 SP9 SAP Business Objects Clie

  • After effects cs6 trial not downloading

    hi, i'm having problems downloading after effects cs6 trial, the download assistant is throwing an error and the download manager does not feature AE at all. It has been this wasy for 3 weeks. Please help.