sunhux
asked on
Command to list what's seen in "Programs & Features" & "View Installed Updates" : wmic fails to list everything
If I issue 'wmic product get name,vendor,version', it won't list out Chrome, Firefox,
certain apps (from app vendors) though these softwares (chrome, Ffox, apps) are
listed when I go to Control Panel's "Programs & Features".
What's the command (exclude PowerShell pls) that could list out what's shown in
"Programs & Features"?
When I do "dir c:\Program Files" or "dir c:\Program Files (x86)", somehow
Chrome or certain apps seen in "Programs & Features" are not necessarily
there.
Also, need a similar command of what's listed in "View Installed Updates".
I'm on Win7, Win10 & Win2012/2016.
Needed something other than WSUS to list patches installed on the Windows
endpoints (as colleague says WSUS has issue with this & we got audit finding).
certain apps (from app vendors) though these softwares (chrome, Ffox, apps) are
listed when I go to Control Panel's "Programs & Features".
What's the command (exclude PowerShell pls) that could list out what's shown in
"Programs & Features"?
When I do "dir c:\Program Files" or "dir c:\Program Files (x86)", somehow
Chrome or certain apps seen in "Programs & Features" are not necessarily
there.
Also, need a similar command of what's listed in "View Installed Updates".
I'm on Win7, Win10 & Win2012/2016.
Needed something other than WSUS to list patches installed on the Windows
endpoints (as colleague says WSUS has issue with this & we got audit finding).
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Adam, thanks Bill.
'wmic qfe list' helps with the updates & 'psinfo -accepteula -s ' help with the other.
One last request:
as wmic & psinfo may take a while, placing this in a logon script may kind of
slow down the logon process: how can I run this in the background so that
it doesn't slow down the logon process?
'wmic qfe list' helps with the updates & 'psinfo -accepteula -s ' help with the other.
One last request:
as wmic & psinfo may take a while, placing this in a logon script may kind of
slow down the logon process: how can I run this in the background so that
it doesn't slow down the logon process?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tried the following:
start wmic qfe list > c:\temp\qfe.txt
&
start wmic qfe list > c:\temp\qfe.txt /min
the qfe.txt file remains empty even after waited for 30mins.
So I place the command "wmic qfe list > c:\temp\qfe.txt" into a test.bat script
& run "start test.bat /min" & qfe.txt now contain the listing but the
window did not go away.
start wmic qfe list > c:\temp\qfe.txt
&
start wmic qfe list > c:\temp\qfe.txt /min
the qfe.txt file remains empty even after waited for 30mins.
So I place the command "wmic qfe list > c:\temp\qfe.txt" into a test.bat script
& run "start test.bat /min" & qfe.txt now contain the listing but the
window did not go away.
ASKER
Also, just noticed that 'psinfo' will not capture softwares that are installed by user
into a temporary area (eg: Webex & Zoom clients that can install without admin
rights) as well as plug-ins and 'Java 8 Update 191' : all of these appear in
"Programs & Features".
It's fair that portable softwares are not captured as "Programs & Features"
won't capture portables as well but will be good to capture plug-ins, Java
into a temporary area (eg: Webex & Zoom clients that can install without admin
rights) as well as plug-ins and 'Java 8 Update 191' : all of these appear in
"Programs & Features".
It's fair that portable softwares are not captured as "Programs & Features"
won't capture portables as well but will be good to capture plug-ins, Java
ASKER
We need to be able to patch plug-ins, Java or ask user to remove
if they install without permission so Audit wanted us to monitor
what users have in their PCs:
Chrome can be installed by user without admin rights, so if this is
needed, we need to track & patch/update Chrome
if they install without permission so Audit wanted us to monitor
what users have in their PCs:
Chrome can be installed by user without admin rights, so if this is
needed, we need to track & patch/update Chrome
»bp