locked
Creating a baseline for Win8 Pushbutton Reset

    Question

  • Mr. Sinofsky said in the keynote that there would be a commandline utility in Win8 to create a new baseline image for Win8 'Pushbutton Refresh' function.

    1. Is this utility included in the Developer Preview?
    2. Where is it? 
    3. How do I use it?

    Monday, September 26, 2011 6:25 AM

Answers

All replies

  • On Mon, 26 Sep 2011 06:25:01 +0000, mota1 wrote:

    Mr. Sinofsky said <http://www.cnetwork.in/2011/09/windows-8-reset-and-refresh-make.html> in the keynote that there would be a commandline utility in Win8 to create a new baseline image for Win8 reset.

    1. Is this utility included in the Developer Preview? 2. Where is it?? 3. How do I use it?

    Refer to this thread:

    http://social.Msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/f330558b-56f3-4b53-9d2e-6e0fd024449d#f330558b-56f3-4b53-9d2e-6e0fd024449d


    Paul Adare
    MVP - Identity Lifecycle Manager
    http://www.identit.ca
    Programming is an unnatural act.

    Monday, September 26, 2011 9:34 AM
  • The answer given there basically evaluates to:

    1. Open an elevated cmd prompt
    2. Create the directory c:\RecoveryImage
    3. Run the command:  “recimg.exe -CreateImage C:\RecoveryImage”

    I did all this. It fails as shown:

    -----

    C:\Windows\system32>whoami
    t500-w8\administrator
    
    C:\Windows\system32>recimg.exe -CreateImage C:\RecoveryImage
    
    RecImg Tool v1.0 - Captures WIM Image
    
    ***** Running WIM Capture. Press [ESC] to cancel *****
    
        WIM File - C:\RecoveryImage\install.wim
        OS  Path - C:
    
    Phase PBR_WIM_CAPTURE_PHASE_INITIALIZING started.
    50%
    Phase PBR_WIM_CAPTURE_PHASE_INITIALIZING completed.
    
    Phase PBR_WIM_CAPTURE_PHASE_CREATE_SNAPSHOT started.
    100%
    Phase PBR_WIM_CAPTURE_PHASE_CREATE_SNAPSHOT completed.
    
    
    FAILED. HRESULT - 0x8007010b
    
    
    C:\Windows\system32>

     

    ----

    I understand this is not even a beta. But am I doing something wrong?




    Monday, September 26, 2011 10:28 AM
  • The error 0x8007010b means "The Directory Name is Invalid" or "Cannot find directory".

    Check to make sure you directory is in the specified location.

    Marilyn
    Thursday, September 29, 2011 2:20 AM
    Moderator
  • Thank you Marilyn - the C:\RecoveryImage directory does exist and it has permissions allowing everyone Full Control. 

    I've now seen this command fail on two Win8 systems in my lab, and have had friends report similar failures on their own Win8 test systems. I think this particular function may not be ready for primetime yet.  I have decided to wait for the next release of Win8 and try it again. 

    Saturday, October 1, 2011 10:51 PM
  • Hi Marilyn,

    I am getting in my case error: 0x80070005

    What does this one mean. I have done everything mentioned in this post, nothing helps. Thanks already.

    Tuesday, November 22, 2011 12:27 AM
  • Hey McAkins,

     

    Error 0x80070005 means that the command was given with a normal user's rights instead of using an elevated (Administrator) level of rights. Even if you are using an administrator account to enter this commend you have to open Command Prompt using the Run as administrator option to have elevated rights within the program. You can do this by:

    • Enter the Start screen
    • Type CMD
    • Right click cmd (If you are using a touch screen: Touch and hold cmd, drag your finger down until the rectangle around cmd turns dark green, and release your finger)
    • Click Advanced in the lower right corner of the screen
    • Click Run as administrator
    • Click Yes to the User Account Control prompt that will appear

     

    Then you should be able to enter the command without getting the 0x80070005 error.

     

    Hope that helps.


    Steven
    Monday, November 28, 2011 7:35 PM
    Moderator