I'd think you would need to verify the firewall is enabled and File/print
sharing is enabled
E:\>netsh firewall show config
Domain profile configuration (current):
--------------------------------------------------------------
Operational mode = Enable
Exception mode = Enable
Multicast/broadcast response mode = Enable
Notification mode = Enable
Service configuration for Domain profile:
Mode Customized Name
--------------------------------------------------------------
Enable No File and Printer Sharing
Enable No Remote Desktop
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1
This posting is provided "AS IS" with no warranties, and confers no rights.
"Carlos Felipe França da Fonseca" <> wrote in
message news:...
> Is there any way to verify if File and Print Sharing is enabled using
> scripts?
>
> Thanks,
>
> Felipe
>