Jump to content

How to check pushed software via Group Policy has been removed when it falls outside.


Recommended Posts

Posted

Is there anyway, remotely, with the PC turned on to check if software which is no longer in the scope and should have been removed at boot has actually been removed?

 

Asking, as if I have to ensure software A has been removed before I push out software B - how can I actually check it's gone?

Posted
If you've got it enabled, you could browse to "\\computername\C$\Program Files" (or whatever the install directory is) and find out if the program's files are gone or not.
Posted

PowerShell script?

 

If the software is pushed out by an MSI, you can check the remote machine's WMI for the MSI code. Example:

 

get-wmiobject -ComputerName My-PC -class Win32_Product -filter 'IdentifyingNumber="{01DBDFEA-A641-4F43-B709-70D76FFC24E1}"'

 

That gets back the NetSupport DNA Client

Posted

Could you install software B via a script that looks for the executable of software A, and only installs if it doesn't find it? Something like:

If exist GoTo end

Command to install software B

:end

Posted
You're not using the Upgrades tab to say "uninstall that before installing this"?

 

No.

 

I've pushed out some software, removed the link between the OU and the policy and the software 'should' uninstall at next reboot.

 

Before I link in the new software to the OU I wondered if I had all the PC's in the room turned on could I quickly check to ensure the software had been removed.

 

I tried the line : get-wmiobject -ComputerName -class Win32_Product -filter 'IdentifyingNumber="{172825C8-3E26-4DAB-984D-732430E471DE}"'

 

But nothing is returned...

Posted
No.

 

I've pushed out some software, removed the link between the OU and the policy and the software 'should' uninstall at next reboot.

 

Before I link in the new software to the OU I wondered if I had all the PC's in the room turned on could I quickly check to ensure the software had been removed.

 

I tried the line : get-wmiobject -ComputerName -class Win32_Product -filter 'IdentifyingNumber="{172825C8-3E26-4DAB-984D-732430E471DE}"'

 

But nothing is returned...

 

You can add the software from the other GPO as a thing to remove first still

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...