Jump to content

winrecfg.exe


Atheros

Recommended Posts

does any1 know what file winrecfg creates. im getting an error after recovering where it says it cannot create a file that already exists.

i know its a bit of a specialist question, but any help is appreciated

[EDIT]

OK, so no one seems to know, i have passed it to microsoft and i will be working to see if i can resolve it. ill post the solution once i have it, for future reference.

[/EDIT]

Edited by Atheros
Link to comment
Share on other sites


OK, so MS still havent responded and i think i have debugged the issue on my own.

so...

ive decided that using the windows version of the tool (reagentc) would probably sort this out. oh how i was wrong (avoid online tools like no tomorrow).

so heres the useful information:

winrecfg.exe pipes data to windows\system32\recovery\ReAgent.xml on the OS drive (the drive can be hidden but the winre.wim can not be)

so found that its actually windows during the generalize phase that creates all booting information for WinRE. it creates the following files on the WinRE partition.

recovery\windowsre\boot.sdi

recovery\system32 (an sub folders)

all of which are given the readonly hidden and system file attributes after oobe completes. (found the problem)

so before i run the winrecfg tool during the recovery process i now do the following.

attrib c:\*.* -s -h -r /s /d

del recovery\windowsre\boot.sdi

rd recovery\system32 /s /q

problem now resolved.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...