Windows 10: Modifying the hidden Recovery folder?

Discus and support Modifying the hidden Recovery folder? in Windows 10 Backup and Restore to solve the problem; I work in IT for a higher learning institution. We deploy out about 210 laptops a year to students who lease the laptops and end up purchasing them... Discussion in 'Windows 10 Backup and Restore' started by TimTheEnchanter, Jul 31, 2017.

  1. Modifying the hidden Recovery folder?

    I work in IT for a higher learning institution. We deploy out about 210 laptops a year to students who lease the laptops and end up purchasing them after graduation. This creates some headaches.. To make a long story short, the laptops are basically the modified OEM image (I get the install media from the manufacturer and I boot into audit mode, make some changes, add some scripts, reseal and deploy).

    In Win 8/8.1 I was able to also modify the recovery/reset partition by overwriting the wim image with my own captured image.

    In Windows 10 the push-button reset doesn't seem to work this way. I researched some of my options and it looks like a 3rd party partition backup or setting up a provisioning package with ADT were my only real options.

    However, I did some digging and managed to find a way of overwriting the unattend.xml file and adding my own startup scripts by adding some files to the hidden C:\Recovery\OEM folder. This SEEMS to work exactly like I want it to. The computer does its reset process and when it boots it uses my unattend.xml and runs my configuration scripts.

    My question is... Is this an acceptable method? I seem to be coming up dry looking for official MS documentation stating one way or the other.

    TimTheEnchanter, Jul 31, 2017

  2. Where is files of installed program?

    Yes they are hidden files,,,,

    Note that modifying those is at your own risk....

    It may lead to system instability
    aco99---01, Jul 31, 2017
  3. New Dell with Windows 10 - can't create recovery USB - can someone help?

    Further investigation seems to indicate the following;

    1. If you do a clean install of win 10 (meaning wiping the drive and installing), a hidden partition

    of 450mg is created. Disk Management shows this partition as "Healthy Recovery". Again,

    this partition is hidden.

    2. If you do an upgrade of win 7 or win 8, 8.1 and you had no hidden recovery partition

    created by Microsoft, you will not get one when you upgrade to Win 10.

    I could be wrong, but you can't create a Recovery Drive if you don't have a hidden healthy 450mb

    or larger recovery partition.

    Can anyone confirm this?
    snifferpro, Jul 31, 2017
  4. Tony K Win User

    Modifying the hidden Recovery folder?

    Tony K, Aug 1, 2017
  5. cereberus Win User
    If it works fine - MS do not impose any restrictions on how to do something.

    It would be interesting if you could share principles of how you changed things for our education Modifying the hidden Recovery folder? :).
    cereberus, Aug 1, 2017
  6. It's ridiculously simple, so much so that it make me nervous... - In the C:\Recovery\OEM folder there's a directory structure as the computer will be when going through the reset process - a folder called C will be the root of the drive. It seems to copy over this structure even when creating reset media. Within the "C" folder there's a copy of a default unattend.xml - located at C:\Recovery\OEM\C\Windows\Panther\unattend.xml (there's not much in there and there was a reference to a startup script I wasn't sure what it did, but I just added it to my modified unattend, just in case). I simply overwrote this with my own unattend which includes references to startup scripts located at %localdir%\Scripts\* and I copied my scripts folder into the "root" folder... so C:\Recovery\OEM\C\Scripts\*.

    That's it. Now when I do reset/recovery it uses my unattend, creates my accounts and runs my scripts.

    I'm not fully read up on this stuff for windows 10 and I THINK that Windows updates can overwrite these changes.... so I made another quick script/package to set these things back to the way I like them so I can run that before running the reset process.

    My first go at it, I was taking ownership of c:\Recovery so I could make the changes and copy the files, but now I'm using psexec to run the script to make these changes so I don't have to alter any permissions - NT Authority/System still owns Recovery.

    I can't say that this will work with every OEM install of Win 10.
    TimTheEnchanter, Apr 5, 2018

Modifying the hidden Recovery folder?

  1. Modifying the hidden Recovery folder? - Similar Threads - Modifying hidden Recovery

  2. Recovery environment, hidden admin

    in Windows 10 BSOD Crashes and Debugging
    Recovery environment, hidden admin: Hi! Is there a way to activate a hidden admin account from the windows Recovery environment? The PC doesn't accept my password for my microsoft account. I tried resetting the password but the new one still doesn't work. By the way, I'm trying to solve error 0xc000021a, but...
  3. Hidden folders

    in Windows 10 Network and Sharing
    Hidden folders: I would appreciate assistance. I have shared privileges with my Manager. I have access to her Mailbox and have full permissions. I experience the following problem. Recently, when I create a New Folder in Manager's Inbox, the folder in question is not visible on my side....
  4. folder sorting by date modified

    in Windows 10 Network and Sharing
    folder sorting by date modified: might seem stupid but i just got a new laptop and ran into this problem when trying to set up. one of the things i need is to sort files in the 'downloads' folder by date modified, so i can find the ones most recently downloaded at the top. However, i found this was not the...
  5. Modify folder ..?

    in Windows 10 Support
    Modify folder ..?: Hi All Is there a way to get rid of folder infos ..? [img] Thanks 139798
  6. HIDDEN hidden folders

    in Windows 10 Support
    HIDDEN hidden folders: I was doing backing up of certain files, reg files in particular (take ownership, add copyto, etc) I was using "everything" programs which lists files on all drives. I came across one reg disableanti.reg in a very odd place.I viewed the file in note pad and it said it...
  7. Hidden folder

    in AntiVirus, Firewalls and System Security
    Hidden folder: How can I access a file in a hidden folder on my Desktop WITHOUT unhiding the folder? Onlookers need not be aware of the folder's existence, let alone its location ."
  8. Modify default folder locations

    in Windows 10 Performance & Maintenance
    Modify default folder locations: My new computer has an SSD drive [C:] and a 1TB hard drive [D:], I'd like to change the default Documents and Pictures folders to the D: drive, is there a registry tweak that will do that? 77511
  9. Deleting a Hidden Folder

    in Windows 10 Support
    Deleting a Hidden Folder: I've just scanned an old hard drive using WinUtilities Undelete function and found a hidden folder as shown on the attached snip. I can't find any other way to access that folder and Winutilities Undelete only shows it and allows it to be copied. My question is how can I...
  10. ProgramData Folder Not Hidden

    in Windows 10 Support
    ProgramData Folder Not Hidden: So I have 2 Windows 10 build 1709 machines. One I just noticed that the ProgramData folder is not hidden. I tried to hide it, but it just will not. I checked the settings and properties against my good machine and it all lines up except for not being hidden. Is there a...