简体   繁体   中英

List all apps installed on remote PC on a web page

I want create a web page that can lists all apps installed on remote PC, and then I can chose which one to uninstall sliently. where should I start from? any suggestions? Now im only using


psexec.exe -cd \\computername "path\\MsiZap.exe" TW {GUID for the Program to be removed}


to uninstall, but it can only remove the entry from [programs and features], the software is still on the PC.

wmic /node:computername /user:adminuser /password:password /output:"path\to\index.html" product list /format:HTABLE

will generate a nice HTML page showing installed apps.

wmic /node:computername /user:adminuser /password:password product where name="name of program" call uninstall

will call the uninstaller for a program.

I leave it to you to get from point A to point B. :)

For what it's worth, I sincerely doubt you'll be able to launch the uninstaller from a web page, as browser security generally frowns on a web page trying to run a command on the viewer's computer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM