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
    #1

  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
    #2
  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
    #3
  4. Tony K Win User

    Modifying the hidden Recovery folder?

    Tony K, Aug 1, 2017
    #4
  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
    #5
  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
    #6
Thema:

Modifying the hidden Recovery folder?

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

  2. 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...
  3. Modify folder ..?

    in Windows 10 Support
    Modify folder ..?: Hi All Is there a way to get rid of folder infos ..? [img] Thanks 139798
  4. 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...
  5. 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 . https://answers.microsoft.com/en-us/windows/forum/all/hidden-folder/3bf8a7d1-28c2-485a-9cb6-b802d05e429e"
  6. Hidden Data recovery on windows 10

    in Windows 10 Network and Sharing
    Hidden Data recovery on windows 10: Hi! I have done re installation of windows 10 in brother's laptop. I don't know that there is an hidden folder in F Drive. Hidden folder contains his personal image. While reinstalling windows 10 I formatted all the drives and make new partition. Now, I used lots of recovery...
  7. Write but not modify on shared folder, possible?

    in Windows 10 Network and Sharing
    Write but not modify on shared folder, possible?: I want a program to access a shared network path and being able to write new files, bot not modify old ones. The only options I see are to fully write/modify or only read. I want permission to write and read, but not modify. Am I missing somehing or is it not possible? 80696
  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...