EXAMIINE THE HIDDEN,SYSTEM FOLDER \RECOVERY

karlsnooks

Windows Specialist
Joined
May 31, 2012
Posts
94
EXAMINE THE CONTENTS OF THE HIDDEN SYSTEM FOLDER \RECOVERY


  • 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
-------------------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)
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top