karlsnooks
Windows Specialist
- May 31, 2012
- 94
EXAMINE THE CONTENTS OF THE HIDDEN SYSTEM FOLDER \RECOVERY
If you get some nasty message from Powershell, then type following and hit Enter
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
---------------------the script------------------------------------
-------------------End of Script-------------------------------------
Type
EXIT
hit Enter
to close PowerShell
Open you favorite editor and paste the clipboard into your favorite editor (you can use CTRL + V)
- Copy the script using Ctrl+A and Ctrl+C to the clipboard
- Run PowerShell as Administrator
- Right-click in PowerShell screen: That's how you paste!
If you get some nasty message from Powershell, then type following and hit Enter
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
---------------------the script------------------------------------
Code:
# Listing of folders & files in \Recovery
dir \recovery -force -recurse
# Get path of winre.wim
$FullName = (dir \recovery -force -recurse | where {$_.name -match "winre.wim"}).fullname
# Save the attributes of winre.wim
$svdAttributes = (dir $fullname -force).Attributes
# Clear the attributes of winre.wim
(dir $fullname -force).attributes = ""
# Get info about the windows image file
dism /get-imageinfo /imagefile:$fullname
# List the folders and files in WinRe.Wim
# write the list to the clipboard
dism /list-image /imagefile:$fullname /index:1 | clip
# restore the winre.wim attributes
(dir $fullname -force).attributes = $SvdAttributes
Type
EXIT
hit Enter
to close PowerShell
Open you favorite editor and paste the clipboard into your favorite editor (you can use CTRL + V)