Daryn Posted November 20, 2019 Posted November 20, 2019 I accidentally ran the built in script on a scope that included all machines we monitor, as a result we are getting hundreds of Tickets to opened with each status. I am new to this, can anyone provide a script to reverse the build in script that looks like this, basically I dont want to monitor any services This is the script that ran, which i would like to "unrun" as my service desk is going to explode with tickets $services = Get-wmiobject win32_service -Filter "StartMode = 'Auto'" | select Name; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\Services" -Name "Count" -Value $services.Count.ToString(); $count = 0; foreach ($service in $services) { Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\Services" -Name ("Service" + $count++) -Value $service.Name; } exit 0;
Administrators Paul Posted November 20, 2019 Administrators Posted November 20, 2019 Hey @Daryn, You may run this script to remove all monitored services from your systems: Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\Services" -Name "Count" -Value '0' -Paul
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now