I have this batch file that lists the installed programs on a pc. is there any way to have it run on all computers in a domain remotely and possibly put the results into a seperate text file for each system? Any help is welcome. thanks.
Code:
@echo off
If Exist c:\installedprogs.txt Del c:\installedprogs.txt
regedit /e c:\regexport.txt "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall"
find "DisplayName" c:\regexport.txt >c:\regprogs.txt
for /f "tokens=2 delims==" %%a in (c:\regprogs.txt) do echo %%~a >>c:\installedprogs.txt
del c:\regexport.txt
del c:\regprogs.txt
exit