How to check if File and Print Sharing is enabled?

Discussion in 'Scripting' started by Carlos Felipe França da Fonseca, Aug 19, 2008.

  1. Is there any way to verify if File and Print Sharing is enabled using
    scripts?

    Thanks,

    Felipe
     
    Carlos Felipe França da Fonseca, Aug 19, 2008
    #1
    1. Advertisements

  2. 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.
     
    Alan Morris [MSFT], Aug 20, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.