.Bat that extracts an specific regsitry key (SID) to a .txt or .reg file
Hello, how can i extract only the exact SID key from the registry with a .bat like this:ExtractSID.bat:REG QUERY HKU |Findstr /R "DEFAULT S-1-5-[0-9]*-[0-9-]*$" >> SID.txtWith result on file SID.txt:HKEY_USERS\.DEFAULTHKEY_USERS\S-1-5-21-57989841-484763869-1957994488-1003What i need on...
View Answer
| Mar 7 2008 4:53 AM GMT
| asked by
ELtangaZ
Batch files, SID, Registry


