Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- pushd %~dp0
- :: Create a temp drive letter mapped to your UNC root location
- :: and effectively CD to that direction
- pushd \\10.20.30.20\Departments\General\Applications\Scripts\VBS
- :: Pull Adobe Acrobat <ver> serial from reg
- :: To cover all the bases, we're looking for v7-11 ...
- :: Though, still may need to use Belarc Advisor if this doesn't work out
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\9.0\Registration\SERIAL" AA7Key.txt
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\9.0\Registration\SERIAL" AA8Key.txt
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\9.0\Registration\SERIAL" AA9Key.txt
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\10.0\Registration\SERIAL" AA10Key.txt
- reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\11.0\Registration\SERIAL" AA11Key.txt
- :: Pull PC info and organize it, incl above AAKey.txt files
- md %computername%
- cscript mskeys.vbs
- cscript pcinfo.vbs
- ::siw.exe /log=%computername%.html /all /silent /details /nologo
- WinAudit.exe /r=gsoPxuTUeERNtzDaIbMpmidcSArCOHG /f=fullAudit.html /T=date /l=log.txt /L=en
- ipconfig /all > ifconf.txt
- move *.html .\%computername%
- move *.txt %computername%
- :: Remove the temp drive letter and return to your original location
- popd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement