/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


Identify windows 7 computers with Media Center Enabled.

07/02/2013 1712 views

I have tried this with two different software custom inventory rules:

1.  RegistryValueGreaterThan(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center, Ident, 6.0)

then i tried

2. RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Media Center)

I have already created the script to remove Media center with “%windir%\system32\\cmd.exe with params Dism /online /Disable-Feature /FeatureName:MediaCenter /quiet. and that worked as expected.  I just want to be able to create a label to go out and find all installs of media center so i can use this script to remove Media Center. 

0 Comments   [ + ] Show comments

Comments


All Answers

3

Since your command only disables Media Center and does not uninstall it, I'd suggest your script add a dummy registry key or text file once it disables Media Center.

You could then use a custom inventory rule to look for that registry key or file.  This would cause your script to run on machines that do not have that criteria once you create a label for it.

Perhaps you could create a string value here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\

Something like "MediaCenterDisabled".

Answered 07/02/2013 by: jknox
Red Belt

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