/build/static/layout/Breadcrumb_cap_w.png

Is there a way to create a smart label based on system services that are running?

I have a production network of about 600 machines and I'm wondering if there's a way to create a smart label based on if a system service is running or not. I'd like to label all machines that have 'wuauserv' (Windows Update) started/running so i can target my disable script, since we get updates from the K1000 instead.

So far, all I've found is a static list under Inventory>Services>'wuauserv' and that does not seem to be dynamic/smart. Creating a smart label under Inventory>Devices does not give me the criteria needed to create such a label.



Thanks in advance!

0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: SMal.tmcc 10 years ago
Red Belt
2
you can create a custom software inventory to read the status of the registry key for this service and create a label for the CSI and then use a kscript to change that key to disabled if it is started.

qSdfs5.jpeg

Then use that label for a kscript to enforce this regisitry setting.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wuauserv]
"Start"=dword:00000004


Comments:
  • Thanks for the tip! I now have a software smart label 'CIR-Wuauserv enabled'. However, you can't deploy scripts to software labels, and I can't get that label to associate with actual devices, so how would i get it targeted? - isudothings 10 years ago
    • delete that and look at the other answer to create a working label. - SMal.tmcc 10 years ago
Posted by: SMal.tmcc 10 years ago
Red Belt
1
open the cir you created and copy  the name of the title into memory


mje2Au.jpeg

click on devices and then over on the right click on smart label.  the screen will expand
OW2d13.jpeg

now choose "software title" under software
8wVngr.jpeg
paste  the title in the box and put the name of what you want the label to be called in choose label and click on create.  it will tell you the label was created.

5KhVe3.jpeg

Comments:
  • after that you can go to home - labels - label management and you will see it there - SMal.tmcc 10 years ago
    • Yes, that worked, Thanks!! - isudothings 10 years ago
Posted by: jamie_kace 10 years ago
Brown Belt
0
Another way to go about it, using smart labels and SQL queries.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ