How to delete programs remotely on several PCs at once (~ 200)?
List of programs: Adobe Acrobat XI, WinRar, Adobe Photoshop CS6, etc.
Client machines: Windows 7, 8, 8,1, 10 software.
Active Directory is available to me.
How to delete programs remotely on several PCs at once (~ 200)?
List of programs: Adobe Acrobat XI, WinRar, Adobe Photoshop CS6, etc.
Client machines: Windows 7, 8, 8,1, 10 software.
Active Directory is available to me.
If these programs were installed via GPO
You can delete them through the same policy. To do this, go to the policy editor, expand the branch of the desired configuration Computer configuration\Policies\Software settings\Software instalation .
We find the necessary software there and make sure that in its properties on the Π Π°Π·Π²Π΅ΡΡΡΠ²Π°Π½ΠΈΠ΅ (Deployment) tab, the Π£Π΄Π°Π»ΡΡΡ ΡΡΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅, Π΅ΡΠ»ΠΈ Π΅Π³ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ Π²ΡΡ
ΠΎΠ΄ΠΈΡ Π·Π° ΡΠ°ΠΌΠΊΠΈ, Π΄ΠΎΠΏΡΡΡΠΈΠΌΡΠ΅ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠΎΠΉ ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ (Uninstall this application when it falls out of the scope of management) checkbox is checked Π£Π΄Π°Π»ΡΡΡ ΡΡΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅, Π΅ΡΠ»ΠΈ Π΅Π³ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ Π²ΡΡ
ΠΎΠ΄ΠΈΡ Π·Π° ΡΠ°ΠΌΠΊΠΈ, Π΄ΠΎΠΏΡΡΡΠΈΠΌΡΠ΅ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠΎΠΉ ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ (Uninstall this application when it falls out of the scope of management) . set.
Next, exit the properties, right-click on the All tasks application -> Remove. In the window that opens, select ΠΠ΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎΠ΅ ΡΠ΄Π°Π»Π΅Π½ΠΈΠ΅ ΡΡΠΎΠ³ΠΎ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ Ρ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠΎΠ² Π²ΡΠ΅Ρ
ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ (Immediately uninstall the software from users and computers) .
If not through GPO
First option:
We find on the target PC registry branch HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall there is a list of installed programs on the local machine. And there are directives called UninstallString approximately the MsiExec.exe /I{ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ} type: MsiExec.exe /I{ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ} is just a command that needs to be executed to remove a specific software. You need to find out these commands for each software that you want to remove, in theory, they do not differ from the same version of software.
The second option:
use built-in uninstallers. They usually lie in C:\Program Files\ΠΠΌΡ ΡΠΎΡΡΠ°\uninstall.exe but for them you need to look for the "silent start" keys in order to work without dialog boxes.
The third option:
Just google UninstallString for each software. They are often written in the official documentation, as well as on the forums on the topic.
Next you need to write a script that executes the commands found on powershell or vba and hang it on netlogon. Something like this, but with your startup strings:
Set objWshShell = WScript.CreateObject("WScript.Shell") On Error Resume Next objWshShell.Run "msiexec.exe /X{00000000-0000-0000-0000-000000000000} /qn", 1, True WScript.quit Next, put the script file in a readable network folder.
Create a new policy, go to the branch Conputer configuration\Windows settiong\Scripts (Startup/Shutdown) and add it there.
We apply the policy to the target computers.
Source: https://ru.stackoverflow.com/questions/735619/
All Articles