gtissington
New Member
Hi,
I have this post-setup commands.
command | args
netsh | advfirewall firewall set rule name="File and Printer Sharing (Echo Request - ICMPv4-In)" new enable=yes
It does not enable the predefined firewall rule. I have also tried using the "advfirewall firewall new rule" method. I have tried this in both Machine and User sections of post-setup.
In all cases nothing happens. No new rule is created and the pre-defined rule is not enabled.
Questions:
1. I've seen in the forums that exporting a wfw rules file from Windows Firewall and then using netsh to import them may work. That seems like just the same thing I'm doing but I only need the one rule. Is there a difference. Some reason wfw would work where my command wouldn't
2. Is there a way to debug what is happening with my command. Is there any logging? Or a way to pause the install at the post-install step and run the command manually?
3. How is POst-Setup implemented? Is it just unattend.xml <FirstLogonCommands>? Or implemented somewhere else?
Thanks all for your help.
I have this post-setup commands.
command | args
netsh | advfirewall firewall set rule name="File and Printer Sharing (Echo Request - ICMPv4-In)" new enable=yes
It does not enable the predefined firewall rule. I have also tried using the "advfirewall firewall new rule" method. I have tried this in both Machine and User sections of post-setup.
In all cases nothing happens. No new rule is created and the pre-defined rule is not enabled.
Questions:
1. I've seen in the forums that exporting a wfw rules file from Windows Firewall and then using netsh to import them may work. That seems like just the same thing I'm doing but I only need the one rule. Is there a difference. Some reason wfw would work where my command wouldn't
2. Is there a way to debug what is happening with my command. Is there any logging? Or a way to pause the install at the post-install step and run the command manually?
3. How is POst-Setup implemented? Is it just unattend.xml <FirstLogonCommands>? Or implemented somewhere else?
Thanks all for your help.
Last edited: