本文介绍了在网页上列出远程PC上安装的所有应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个网页,其中列出了远程PC上安装的所有应用程序,然后我可以选择轻松卸载哪个应用程序.我应该从哪里开始?有什么建议么?现在我只使用

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 i m only using

psexec.exe -cd \计算机名"path \ MsiZap.exe" TW {要删除程序的GUID}

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

要卸载,但只能从[程序和功能]中删除条目,该软件仍在PC上.

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

将生成一个漂亮的HTML页面,显示已安装的应用程序.

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.

我将它留给您,以便从A点到达B点.:)

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.

这篇关于在网页上列出远程PC上安装的所有应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 01:29