Check for installed roles via registry
Is there a way to check what server roles and features are installed onwindows server 2008 by checking for a specific registry key?
June 29th, 2009 6:28pm
Hello,check out:ServerManagerCmd.exe -queryThis will result in an output listing all installed roles.Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 2:41pm
Thanks, I am aware of this option but am looking for alternative methods. The reason I asking is becausewe need to be able to scan our servers with compliance scanning tool to determine what roles and features are installed. By scanning forregistry keys to determine what's installed make it simplerto implement.
June 30th, 2009 5:11pm
Even I am looking out for detecting installed serve roles, please let me know through this thread if you get any solution or workaround for this. I am also looking out for APIs if any which could detect the roles installed. Thanks
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 9:03am
Hello Pradeep,Try this MSDN link
Win32_ServerFeature Class
The Win32_ServerFeature class represents the features installed on a computer running the Windows Server2008 or later server operating system. This class can be used by developers and administrators who need to automate the process of determining the features installed on a set of server computers. Instances of this class are not available on client computers.'http://msdn.microsoft.com/en-us/library/cc280268(VS.85).aspx
Thanks,
Darrell Gorter
This posting is provided "AS IS" with no warranties, and confers no rights
July 2nd, 2009 4:15am
Thanks Darrell for the link.
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2009 1:49pm


