ZTree.com  | ZEN  | About...  

 Index   Back

This "psexec" method has another advantage...   [Tip]

By: Liviu       
Date: Dec 09,2014 at 19:30
In Response to: This "psexec" method has another advantage... (Bill Kingsbury)

> apparently because Chkdsk restored the "security descriptors" to their original specification.

Good to know.

> I wonder how to write a batch file to copy the "hidden" Chkdsk log
> files from - C:\System Volume Information\Chkdsk\ - to a non-protected location?

You can run 'psexec -s -i cmd.exe' (at an elevated prompt if vista+) to open a cmd prompt running as SYSTEM - then execute whatever commands, batch files etc.

Or, for a one-liner, something like this:

psexec -s -i xcopy /I "C:\System Volume Information\chkdsk" "%temp%\chkdsk.%time::=_%"


Thread locked

Messages in this Thread

94,975 Postings in 11,969 Threads, 349 registered users, 32 users online (1 registered, 31 guests)
Index | Admin contact |   Forum Time: May 27, 2020 - 8:24 pm EDT  |  Hits:31,245,070  (6,313 Today )
RSS Feed