Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way to install MSMQ via Group policy in Windows Server 2008 R2?

Perhaps running ocsetup MSMQ-Container;MSMQ-Server as a startup script?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Try this in a startup script:

dism /online /Enable-Feature /FeatureName:MSMQ-Container /Norestart /Quiet
dism /online /Enable-Feature /FeatureName:MSMQ-Server /Norestart /Quiet

share|improve this answer
    
This works, but only need the second line -- first line says something along the lines of MSMQ-Container not being an option even though it comes out of the dism list. –  Kyle Brandt Jan 12 '11 at 20:15

I suppose you have taken a look at MS TechNet http://technet.microsoft.com/en-us/library/cc749102(WS.10).aspx. Creating a new GPO applying to your OUs and including a logon script will get this done.

"Create a FirstLogonCommand that runs ServerManagerCmd.exe For Windows Server 2008, you can create a FirstLogonCommand that runs ServerManagerCmd.exe in your answer file that specifies the proper parameters for configuring MSMQ."

Let me know if you have any questions. of course recommended to apply to a new test gpo and test ou with 1 user/machine first.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.