Your Guide to the Latest Windows Server Product Information
1. On the original server, query what roles and features are installed and save to xml format:
a. ServerManagerCmd.exe –query Master.xml
2. On the target server, use the xml file output by the previous query in order to install the same set of roles and features:
a. ServerManagerCmd.exe –inputPath Master.xml
· Install: This transform will create an xml file to use with ServerManagerCmd.exe -inputPath for installing roles and features that were detected on a server. See Appendix A.
· Remove: This transform will create an xml file to use with ServerManagerCmd.exe -inputPath for removing roles and features that were not detected on the master server. See Appendix B.
· View: This transform will create an html file that will display which roles and features are installed on the master server. See Appendix C.
· There are a lot of blank lines in the file that can be ignored.
· The set of roles and features that are listed in the xml are not exactly what you see installed on your master server. The difference is that roles, role services, and features that contain other role services and features are not listed. At install time, they will automatically be included by Server Manager with the install. It is not possible to install a role service or feature without its parent.
Comments in this blog are open and monitored for each post for a period of two weeks after the posting date. If you have a specific question about a blog post that is older than two weeks, please submit your question via our Twitter handle @WindowsServer