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

I'm setting up a Windows Server Core 2008 R2 installation in a VMware virtual machine before setting it up on a live VPS. I've gotten remote administration via MMC working on my computer (a PC running Windows 7) for things like event logs, but I can't seem to get the firewall administration working. No matter what I do, I get the following error mesage:

You do not have the correct permissions to open the Windows Firewall with Advanced Security console. You must be a member of the Administrators group or the Network Operators group to perform this task. For more information, contact you system administrator. Error code: 0x5.

I've used cmdkey to add valid server credentials on my computer, and enabled remote management with the following commands:

netsh advfirewall firewall set rule group="remote administration" new enable=yes
netsh advfirewall firewall set rule group="windows firewall remote management" new enable=yes
netsh advfirewall set currentprofile settings remotemanagement enable

I am not running on a domain (just a workgroup), this is the only Windows Server 2008 computer I have. I've tried turning off the firewall completely, but remote administration is still failing

How do I debug this issue? Does anyone know how to fix it?

I found a few forum topics about it (eg. Remotely managing Windows Firewall on Server Core gives access denied (error 0x5) on Windows Server TechCenter) but they didn't help (I've already tried most of the fixes listed).

share|improve this question
    
Any resolution for this issue? –  Milan Gardian Feb 29 '12 at 20:25
    
@MilanGardian Nope, I never resolved this issue and I stopped using Windows Server. –  Daniel Lo Nigro Mar 22 '12 at 7:50

3 Answers 3

Your local user account needs to be identical to the server account if the server is not in a domain (same user / same pw). Apparently the Advanced Firewall snapin doesn't utilize the credentials you can store for the principal using cmdkey.

share|improve this answer

try stopping the windows firewall service?

net stop mpssvc
share|improve this answer

Stopping the windows firewall will just kill networking to the server completely. Do not do this if you cannot access the machine console.

share|improve this answer
    
No it won't. It'll mean that the world and his mother can access your server. –  Tom O'Connor Apr 3 '13 at 10:52

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.