Windows Server 2008 - retain firewall settings after sysprep
Posted on 2011-03-01
Greetings experts -
I'm deploying Windows Server 2008 x86 and x64 (not R2) in our virtual environment via sysprepped template. On the master VM I enabled firewall exceptions for "Remote Desktop Connection" and "File and Printer Sharing" so folks can immediately ping and then RDP to the deployed VM without having to log into the console first.
Unfortunately sysprep seems to reset the firewall to defaults, disabling both of these exceptions in the deployed VM.
Is there some way to tell sysprep to not do this? By local group policy, the registry, etc.?
Thanks in advance, as always.