Answer the question
In order to leave comments, you need to log in
How to view the list of installed software on a remote host (for local I attach the code)?
@echo off
setlocal enableextensions enabledelayedexpansion
>nul chcp 1251
for /f "usebackq delims=" %%i in (
`reg.exe query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"`
) do for /f "usebackq tokens=3*" %%j in (
`reg.exe query "%%~i" /v "DisplayName" 2^>nul ^| find.exe /i "DisplayName"`
) do echo %%~j %%k
>nul chcp 866
endlocal
exit /b 0
Answer the question
In order to leave comments, you need to log in
The reg utility can query the registry of remote computers, if you have access, of course: reg /?
The same operation can be done using wmic, it can also work with remote computers. In my opinion, it gives more structured information than you can dig in the registry in a "manual" way. Look up the specific settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question