Wednesday, February 18, 2015

Remotely retrieving Programs and Features list of installed applications on a Windows desktop or server

I was recently asked by a small client to provide them with an inventory of the application installations on their 30 or so desktops for documentation purposes.  The environment did not have any management software that could pull this information so I ended up using a combination of the sc command and psinfo to retrieve the information and thought that I’d write this blog post so I could reference this method in the future.

Remotely Starting Remote Registry

The first step is to start the remote registry service on the remote desktop with the sc command as such:

sc \\desktopName start remoteregistry

You can use a spreadsheet and populate rows with the desktop names and concatenate the sc \\ + desktopName + start remoteregistry then execute the commands in bulk as such:

sc \\Computer001 start remoteregistry
sc \\Computer002 start remoteregistry
sc \\Computer003 start remoteregistry
sc \\Computer004 start remoteregistry
sc \\Computer005 start remoteregistry
sc \\Computer006 start remoteregistry
sc \\Computer007 start remoteregistry

Remotely Dumping Programs and Features List

With the remote registry service enabled, proceed and download the psinfo.exe tool from:

PsInfo v1.77
https://technet.microsoft.com/en-us/sysinternals/bb897550.aspx

Then execute the command to pipe the installed applications on the target computer to a text file as such:

psinfo -s \\Computer > C:\Report\Computer.txt

As with starting the remote registry service, use a spreadsheet and create a list of commands as such:

psinfo -s \\Computer001 > C:\Report\Computer001.txt
psinfo -s \\Computer002 > C:\Report\Computer002.txt
psinfo -s \\Computer003 > C:\Report\Computer003.txt
psinfo -s \\Computer004 > C:\Report\Computer004.txt
psinfo -s \\Computer005 > C:\Report\Computer005.txt
psinfo -s \\Computer006 > C:\Report\Computer006.txt

The output of the text file should look similar to the following:

System information for \\Computer001:
Uptime:                    21 days 4 hours 13 minutes 15 seconds
Kernel version:            Windows 7 Professional, Multiprocessor Free
Product type:              Professional
Product version:           6.1
Service pack:              0
Kernel build number:       7601
Registered organization:   Microsoft
Registered owner:          Microsoft
IE version:                9.0000
System root:               C:\Windows
Processors:                8
Processor speed:           2.3 GHz
Processor type:            Intel(R) Core(TM) i7-2760QM CPU @
Physical memory:           514 MB
Video driver:              Intel(R) HD Graphics Family
Applications:
AT&T Connect Participant Application v9.0.82 9.0.82
Adobe AIR 15.0.0.249
Adobe AIR 15.0.0.249
Adobe Acrobat XI Pro 11.0.09
Adobe Flash Player 15 ActiveX 15.0.0.167
Adobe Flash Player 15 Plugin 15.0.0.189
Adobe Reader XI (11.0.09) 11.0.09
Burn.Now 4.5 4.5.0
Corel Burn.Now Lenovo Edition 4.5.0
Corel DVD MovieFactory 7 7.0.0
Corel DVD MovieFactory Lenovo Edition 7.0.0
Corel WinDVD 10.0.5.890
Create Recovery Media 1.20.0.00
D3DX10 15.4.2368.0902
Direct DiscRecorder 1.00.0000
Direct DiscRecorder 1.00.0000
Evernote v. 4.2.3 4.2.3.15
Google Chrome 39.0.2171.95
Google Toolbar for Internet Explorer 7.5.5111.1712
Google Toolbar for Internet Explorer 1.0.0
Google Update Helper 1.3.25.11
Infor Query & Analysis 1.10.0199
Integrated Camera Driver Installer Package Ver.1.1.0.1147 1.1.0.1147
Integrated Camera TWAIN 1.0.11.1223
Intel PROSet Wireless
Intel(R) Control Center 1.2.1.1007
Intel(R) Identity Protection Technology 1.1.2.0 1.1.2.0
Intel(R) Management Engine Components 7.0.0.1144
Intel(R) Processor Graphics 8.15.10.2321
Junk Mail filter update 15.4.3502.0922
Lenovo Patch Utility 1.0.1.1
MSVCRT 15.4.2862.0708
MSVCRT_amd64 15.4.2862.0708
MSXML 4.0 SP2 (KB954430) 4.20.9870.0
MSXML 4.0 SP2 (KB973688) 4.20.9876.0
Mesh Runtime 15.4.5722.2
Microsoft Office Access MUI (English) 2010 14.0.4763.1000
Microsoft Office Access Setup Metadata MUI (English) 2010 14.0.4763.1000
Microsoft Office Excel MUI (English) 2010 14.0.4763.1000
Microsoft Office Groove MUI (English) 2010 14.0.4763.1000
Microsoft Office InfoPath MUI (English) 2010 14.0.4763.1000
Microsoft Office OneNote MUI (English) 2010 14.0.4763.1000
Microsoft Office Outlook MUI (English) 2010 14.0.4763.1000
Microsoft Office PowerPoint MUI (English) 2010 14.0.4763.1000
Microsoft Office Professional Plus 2010 14.0.4763.1000
Microsoft Office Professional Plus 2010 14.0.4763.1000
Microsoft Office Proof (English) 2010 14.0.4763.1000
Microsoft Office Proof (French) 2010 14.0.4763.1000
Microsoft Office Proof (Spanish) 2010 14.0.4763.1000
Microsoft Office Proofing (English) 2010 14.0.4763.1000
Microsoft Office Publisher MUI (English) 2010 14.0.4763.1000
Microsoft Office Shared MUI (English) 2010 14.0.4763.1000
Microsoft Office Shared Setup Metadata MUI (English) 2010 14.0.4763.1000
Microsoft Office Word MUI (English) 2010 14.0.4763.1000
Microsoft SQL Server 2005 Compact Edition [ENU] 3.1.0000
Microsoft Silverlight 4.0.50401.0
Microsoft Visual C++ 2005 Redistributable 8.0.56336
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17 9.0.30729
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148 9.0.30729.4148
Microsoft Visual J# 2.0 Redistributable Package 2.0.50727
Microsoft Visual J# 2.0 Redistributable Package
Microsoft Visual Studio 2005 Tools for Office Runtime 8.0.60816.0
NVIDIA Stereoscopic 3D Driver 7.17.12.6871
RICOH_Media_Driver_v2.14.18.01 2.14.18.01
Renesas Electronics USB 3.0 Host Controller Driver 2.0.32.0
Renesas Electronics USB 3.0 Host Controller Driver 2.0.32.0
Security Update for Microsoft .NET Framework 4 Client Profile (KB2604121) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2729449) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2736428) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2737019) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2742595) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2789642) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2840628v2) 2
Security Update for Microsoft .NET Framework 4 Client Profile (KB2858302v2) 2
Security Update for Microsoft .NET Framework 4 Client Profile (KB2894842v2) 2
Security Update for Microsoft .NET Framework 4 Client Profile (KB2901110v2) 2
Security Update for Microsoft .NET Framework 4 Client Profile (KB2931365) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2972106) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2972215) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2978125) 1
Security Update for Microsoft .NET Framework 4 Client Profile (KB2979575v2) 2
Security Update for Microsoft .NET Framework 4 Extended (KB2487367) 1
Security Update for Microsoft .NET Framework 4 Extended (KB2736428) 1
Security Update for Microsoft .NET Framework 4 Extended (KB2742595) 1
Security Update for Microsoft .NET Framework 4 Extended (KB2858302v2) 2
Security Update for Microsoft .NET Framework 4 Extended (KB2894842v2) 2
Security Update for Microsoft .NET Framework 4 Extended (KB2901110v2) 2
Sophos Anti-Virus 10.3.11
Sophos AutoUpdate 3.1.4.81
Sophos Remote Management System 3.4.1
SunSystems 6 61.01.0160
System Update 4.01.0015
ThinkPad Power Manager 3.67
ThinkPad UltraNav Utility 2.13.0
Update for Microsoft .NET Framework 4 Client Profile (KB2836939v3) 3
Update for Microsoft .NET Framework 4 Extended (KB2836939v3) 3
VIP Access 2.0.2.140
Visual Studio 2005 Tools for Office Second Edition Runtime
Windows Live Communications Platform 15.4.3502.0922
Windows Live Essentials 15.4.3502.0922
Windows Live Essentials 15.4.3508.1109
Windows Live Installer 15.4.3502.0922
Windows Live Mail 15.4.3502.0922
Windows Live Mail 15.4.3502.0922
Windows Live Mesh 15.4.3502.0922
Windows Live Mesh 15.4.3502.0922
Windows Live Mesh ActiveX Control for Remote Connections 15.4.5722.2
Windows Live Messenger 15.4.3502.0922
Windows Live Messenger 15.4.3502.0922
Windows Live Movie Maker 15.4.3502.0922
Windows Live Movie Maker 15.4.3502.0922
Windows Live PIMT Platform 15.4.3508.1109
Windows Live Photo Common 15.4.3502.0922
Windows Live Photo Common 15.4.3502.0922
Windows Live Photo Gallery 15.4.3502.0922
Windows Live Photo Gallery 15.4.3502.0922
Windows Live SOXE 15.4.3502.0922
Windows Live SOXE Definitions 15.4.3502.0922
Windows Live UX Platform 15.4.3502.0922
Windows Live UX Platform Language Pack 15.4.3508.1109
Windows Live Writer 15.4.3502.0922
Windows Live Writer 15.4.3502.0922
Windows Live Writer 15.4.3502.0922
Windows Live Writer Resources 15.4.3502.0922

1 comment:

girish Plugin said...

Current Version Plugin Intel Identity Protection Technology technology does is essentially protecting scrupulous or unauthorized users from having access to the user computer or personal files and helps provide a simple, tamper-resistant method for protecting access to your customer and business data from threats and fraud.