How to check if file and printer sharing is on or off

Hi,
i want to evaluate if the windows file and printer-sharing is turned on or not with a script.   
With regshot i found out that the DLL hgclp.dll is involved but not which registry-entry is the one set.

i know it should be but on some machine it is not the case even if the domain-bind etc is fine.
Manual workaround is to look at each one by hand and set it to enabled. Gpupdate does not change something in these cases.
If i had a way to validate this setting via script it'd be faster.

Similar Messages

  • T61 XP-pro Microsoft file and printer sharing unchecks on Intel(R) 82566M NIC after reboot

    I check Microsoft file and printer sharing but after reboot it is unchecked for Intel(R) 82566M NIC connection profile.
    Anyone else seen this or fixed?
    Message Edited by jbaaremartin on 07-18-2008 11:11 PM
    Solved!
    Go to Solution.

    Problem was setting in security section for the profile in Thinkvantage Access Connections; it was set to cancel Microsoft File and Printer sharing.

  • Problem with file and printer sharing

    I just installed a Linksys WRT54G to replace a D-Link wireless router and cannot reestablish my file and printer sharing since replacing the router.  I had file and printer sharing working fine before installing the WRT54G.   All of the computers are running either XP Pro or 2000 Pro.  I have two printers attached to one of my computers that I was previously sharing with all of the other computers on our home network.  One is attached via a parallel port, the other via a USB port.  
    Here's what I've tried so far without success.
    1.  The IP of the WRT54G is 192.168.1.1, and the IP's it assigns to my LAN computers begin 192.168.1.XXX.  The old IP of the D-Link was 192.168.0.1 and its LAN IPs were 192.168.0.XXX, so I've gone into my firewall and changed the settings for the range of trusted computers to correspond to the WRT54G's IP addresses.
    2.   I've tried uninstalling the printers and reinstalling them, including reinitializing printer sharing.
    3.  When I try to use the Windows  "Add printer" wizard to add a networked printer, it can see the computer that has the printers attached, but it does not see the printers.
    4.  I haven't fooled around with the file sharing settings, but they've all be lost too, so I suspect there is a common problem for both printer and file sharing.
    Any suggestions would be most welcome.  I don't know what would be different about the WRT54G that would cause this problem.

    Try this to Enable File and Printer Sharing...Turn Off the Router Firewall...Make sure the Windows Firewall is also Off...

  • How to uncheck File and Printer Sharing for Microsoft Networks by Command!!

    Dear everybody,
    I meet a problem with my System now, and I need your help!!!
    As mentioned in title, I need uncheck on File and Printer Sharing for Microsoft Networks by Command for Security purpose.
    Could you show me the way to do it by command line
    I think GPO can solve this but My Boss want to do it by command line
    Thanks for your help!!!

    netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes
    netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
    To disable these functions in Windows, use the same command and replace 'Yes' to 'No' in the above commands.

  • E3000 file and printer sharing issues

    Yes, there is at least one other thread on this but it looked a bit stale.
    Last Friday I replaced my BEFSR41 router and WRT54G wireless access point (which had gone brick on me) with an E3000.The E3000 is configured as a DHCP server at 192.168.168.65 with a scope of 66-115. The only other non-default setting is that I opened up the custom port for my slingbox.
    Prior to making the switch, I had several network shares on an XP desktop that I used frequently from my Vista laptop. Now, however, I can no longer even "see" any other computer from any of the computers on the network, much less access their shared folders. In other words, if I view the network from any of these machines, the only machine that shows up is the machine itself. Everything else (internet access, slingbox, a print server) is working just fine.
    One of the suggestions in the other thread was to turn off Norton Internet Security, which is of course not a viable option. However I did check the settings, relaxed the network default to "Shared", and raised the XP desktop to "Full Trust". This had no effect.
    I pinged the various computers, and was able to do so by their IP addresses, but not by their computer names (that worked with the old router). On a hunch, I tried creating a mapped drive, and that also worked when I used the IP address, but not when I used the computer name.
    So - there's nothing wrong with the network configuration, or with how the shares are set up, and Norton isn't the problem. The only problem seems to be that names aren't being resolved, which could be affecting windows discovery, too. Did the BEFSR41 provide some local DNS functionality by default, and the E3000 doesn't? Is there an option I need to enable? If so, I can't find it. Perhaps I should explicitly add the E3000's internal IP address as a third nameserver??
    A note on the "support" I tried to get before I turned to the forums: The "Chat agent" asked a bunch of questions, misunderstood my configuration and my problem, and once he finally did understand said "we don't support file and printer sharing". It took me several more questions to learn that he really meant that the Chat facility isn't the place for these questions - I had to call the 800 number. I did that, and after several minutes on hold, reached an agent. After going through everything again, and with the rep going on hold several times to "speak to his supervisor", he said it was "beyond his competence". I was eventually told I had to call another FEE-BASED service. I told him that was unacceptable.

    Ok, another update and possibly some clues.
    I was curious why at one point, when all the computers were in Workgroup2, that "Workgroup" still showed up in Explorer under the list of networks, but only on the two XP machines. Netscan showed this group association as well, which I then realized was the E3000 itself, in its role as a [I]potential[/I] NAS server. However there was no storage device attached.
    Could this in itself cause the access error? If so, should users be advised that if they don't plan to host any storage, that they should to go to the E3000 Storage Administration page and change the workgroup name to something other than their actual workgroup name?
    In my case, I changed it to "Workgroupx", though perphaps something like "StorageGroup" would be more meaningful, especially if the Workgroup computers could still access any storage I might install in the future.
    Anyway, I repeated my original approach (after the above change and a router reboot), and at least got my original Workgroup reestablished to the point where the XP machines not longer get access errors, and most machines can access the shares on the XP desktop. The steps I used on each machine were:
    remove any shares I had set up on any folders
    uninstalled the File and Printer Sharing service
    Accessed Computer Name properties page to change the workgroup name
    Shut Down
    After all 4 were done, I reversed the process:
    Started computer (now coming up in new Workgroup)
    Reinstalled File and Printer Sharing service
    Checked visibility
    At this point, the XP machines could see each other, and the Win7 and Vista machines could see each other, but initially these two cliques wouldn't interact.
    Next I re-added the shared folders on the XP desktop, and the XP netbook could see and access them. After about an hour, the Win7 machine joined this clique, and could also access the shares. But six hours later, the Vista machine is still clueless. Netscan shows everything of course, and I used it to set up a mapped drive on the Vista machine to one of the shared folders.
    Other possibly relevant facts:
    The was all working fine with the BEFRS41/WAP54G combo
    I can ping all machines by IP address, but not by name
    On the Vista machine I can set up mapped drives to the XP's shared folders, but again, only by IP address.
    At one point I removed NWLink from the XP desktop. Now, nbtstat -r only shows the printserver's name being resolved.
    The two XP machines, being SP3, lack the LLTD responder.
    So,
    Is it possible the NetBIOS in NWLink was providing some kind of name caching? If so, should I reinstall the protocol driver (I don't think it is available on Win7)?
    Should I request and apply the KB922120 hotfix to get LLTD onto the XP machines?
    Perhaps in the morning, "by name" access will have returned, as it did on my first go-round. Needless to say this has been a real pain, what with all the reboots required. At least now I remember to hit F8 so I can select Safe Mode with Networking...

  • X301 "File and Printer Sharing for Microsoft Networks" removed at re booting (XP SP-3)

    Even if I run the “Network Identification Wizard” (under System properties/Computer Name) to join a Workgroup, the box ‘File and Printer Sharing for Microsoft Networks’ remains unchecked.  If I ticked it manually, it remains checked for the current session, but it is unchecked at booting.
    The same occurs with the Windows Firewall (I am running that from Symantec). I switch the Windows Firewall off, but after rebooting, it appears selected again!.
    This happens only with my brand new ThinkPad X301, which came with Vista. The package included a kit to convert to XP, but this installed a ‘naked’ XP, which required downloading from Lenovo and Windows about 1Gb of files (bad service, Lenovo guys!).
    I wonder which “safety” issue of the X301 causes this, but how can I stop this happening? (It does not occur with any of my two old ThinkPads, also running XP SP-3 and Lenovo software).
    Solved!
    Go to Solution.

    See -> http://www.vistax64.com/vista-networking-sharing/72537-file-printer-sharing-turned-off-reboot.html  Here is the text. Re: File and Printer sharing turned off on reboot
    I FOUND MY SOLUTION!!!
    In my case, it was in Lenovo's "ThinkVantage Access Connections" applet. It
    is additional security that is applied at the CONNECTION level.
    Here is how I fixed it:
    1. Double click on the ThinkVantage Access Connections applet in the
    notification area.
    2. Click on the MANAGE button on the toolbar
    3. Select the SSID where you want File Sharing to work, and click EDIT
    4. Click on the ADDITIONAL SETTINGS tab
    5. Next to "Network Security", click the SETTINGS button
    6. The first option in Security Settings is "Disable file and printer
    sharing". UNCHECK this box. Click OK for 3 levels of dialog boxes, then
    close Access Connections
    Although these directions are specific to ThinkPad notebooks, the same
    principle may apply for other manufacturers' connection managers.
    Best of luck!

  • File and Printer Sharing problem

    Message Edited by bartman_60042 on 11-13-2007 05:47 AM

    Oops...somehow submitted without any text.
    My set-up: Linksys Cable Modem with Linksys Wireless Router.  2 Desktop Computers (Black and Grey) and 1 Laptop.  Windows XP SP2 with all current upgrades on each.
    While setting up File and Printer Sharing, I have the following:
    1) The Black computer can file/printer share from both the Grey computer and Laptop.
    2) The Grey computer can only file/printer share from the Laptop; not from the Black computer.
    3) The Laptop can only file/printer share from the Grey computer; not from the Black computer.
    All 3 computers were configured the same as far as I can tell.  The only difference I notice is that the Black computer boots without the XP 'login' screen (no password required), could this be causing the problem?  If this is the issue, how would I change the settings to 'login' to the Black computer?  Any thing else which may be wrong?

  • Lenovo Thinkvanta​ge Access Connection​s prevents Microsoft File and Printer Sharing

    We have several Think pad laptops deployed in our company, including G41, T61, and T500 models.  We are using Numara's Track It software to inventory our workstations and laptops.  The auditing process needs to have Microsoft File and Printer Sharing turned on in order to work.  We have enabled a group policy to set this to on by default.  However, the Thinkavntage Access connections manager for the LAN connection overrides the GP and turns off the File and Printer Sharing by default.  What's worse, with it off, we can't remotely manage the machine's services or even access the registry.  We know that his is the issue, because reconfiguring the access connections manager to allow the file and printer sharing will allow all of our remote administration tools to work, insluding the inventory audit.
    Does anyone know how to disable the access connection manager from running remotely?  or does anyone know how to change the settings remotely to all for the microsoft file and printer sharing to be enabled by default.  I would hate to have to visit each user individually just to turn off a setting. 
    anyone else run into headaches because of this "security feature"? 
    Jason

    1.Find snetcfg.exe on internet
    2.Create batch who runs snetcfg with this commnads from network locations
    (this setting enable  File and Printer Sharing)
    snetcfg -u MS_Server
    snetcfg -c s -i MS_Server
    3. Deploy and run batch on laptops (GPO)
    4. Deploy new AC profiles settings  (.loa)
    done
    sorry for my english

  • Script to install and enable file and printer sharing windows 7

    Hello
    I posted this question on the Microsoft Partner Windows 7 forum and the support person told me that I should post it here.
    I have a Customer that was running Novell.  We will migrate them to Active Directory.
    The question I have is.  they did remove the file and printer sharing service on their Windows 7 workstations.
    Is is possible to have a command line or a script to install and enable the file and printer sharing for Microsoft Network?
    We need this enable in order to install the SCCM client remotely
    Greetings
    Gaetan Labrecque

    How are you going to connect to the workstations?
    File and print sharing are not needed for Group Policy to work.  GP can be used to re-enable file and Print Sharing.
    You will also  need to start by joining the machines to the domain.  That will be very difficult unless all have PowerShell and are configured for WinRM.
    This can be somewhat accomplished by using VBScript remotely but will require a very sophisticated admin to set up and debug in your environment.  I recommend hiring a consultant who has experience in conversions or is a master VBScripter in a domain.
    There is no easy answer.  It is not about File Sharing.
    Here is how to add roles and features with PowerShell:
    http://technet.microsoft.com/en-us/library/hh831809.aspx
    ¯\_(ツ)_/¯

  • File and printer sharing using Airport Express, usb HP Deskjet 3620 printer

    I have a general question, and other forum users might have a good resolution for it - but if not, here's what i'm dealing with..
    I have an Airport Express that I bought a couple of years back, it has all the necessary firmware upgrades, i'm running 2 Windows XP boxes going through a combination of Ethernet on 1 directly to the 2 Wire Home Portal 2701HG-B, and I also have an additional Netgear WGR614 v7. All firmware upgrades on all devices is installed and functioning after reset.. I've tried using a combination of the Windows XP built-in networking software, Apple Airport Utility, as well as Bonjour to get things configured and working right over the network. I've also installed the AT&T software, one is running the Mcafee security suite, and mine (the Etnernet box) is running the diagnostic utility.
    I've tried defaulting all the firewall settings in either/or/all routers i've tried setting the Airport up with, and there still seems to be problems getting file and printer sharing to work right on all computers, and still remain safe behind the firewall. All the network hardware is set up with wpa2/psk authentication, and appears to be configured correctly.
    The only version of the Apple Airport Utility that will run successfully on the systems, is the original version that came on the CD with the Airport. Both systems are completely up-to-date from Windows update, and are both running XP service pack 3.
    I know for a fact, that the Airport is working just fine, as I've troubleshot all possible known hardware issues with it individually, hooked up to 1 pc (with current updates installed and running). Wireless works fine, i'm actually running the Airport utility on my main system in the living room, that's hooked up hardwired to the router. Both systems get online and surf without a problem going through either/or router as well. I've also tried dissabling the Windows firewall on both systems, and trying to set up file and printer sharing manually using the wizard, and that don't seem to resolve the issues either. However, both systems (wheather hooked up networked, OR individually), have both been experiencing some odd "quirks". The Ethernet box i'm on, has overwritten my primary HD, as "Athena" and made it unusable. The wireless box, has been giving simular "boot-up" related errors as well. I've checked the Cmos/DOS settings on both, and performed the suggested "boot-up" priority related tasks, and both systems are still experiencing problems. The Mcafee suite is up-to-date, and has caught several potentially dangrous programs running on the wireless box, hooked up to the Airport Express, INCLUDING the bundled HP diagnostic software.. However file and printer sharing still remains elusive...
    Are there any suggestions about settings to check on the devices, or in the computers, to make sure it's all configured correctly?

    ...Also file/printer sharing just flat out over the network is NOT a problem, as it's been configured before over ethernet through my Netgear router and file/printer sharing worked just fine.
    The main problem seems to be in the Airport Express' settings, it will "get configured" and then lock me out of the utility to where I can't get back in..
    The main Airport password has not been changed, and the wireless network encryption is the same for all wireless devices running on the network.
    The main problem, just seems to be with the Airport.
    Even the Home Portal has detected the Netgear router (unless it having my Netgear router saved in it's settings might be causing a conflict)... Suggestions?
    I've contacted AT&T Home Networking for help already about the Home Portal, unfortunately they can not help me with other network related issues, since i'm not using the 2 wire wireless adapters offered by AT&T...
    Message was edited by: okwolffcub

  • File and Printer sharing on Windows 7 Through Group Policy

    Hi,
    I was wondering how to enable File and Printer sharing on Windows 7 Through Group Policy. I have enabled the policy called: Allow inbound file and printer sharing exception.
    But when I go to advanced sharing settings, it's still turned off.
    Windows Server 2003 AD Domain, and I'm using the Group Policy Manager from my Windows 7 machine to edit the policy.
    Any ideas?

    Hi,
    Based on my knowledge, there is no Group Policy setting for enabling and disabling File and Printer sharing. To do this, you may need to write a script and you can go to our Scripting Forum for help.
    In addition, I would like to share the following with you:
    Enable or Disable File Sharing for a User or Group by Using Group Policy
    Network and Sharing Center Group Policy Settings
    Hope this helps. Thanks.
    Nicholas Li - MSFT

  • BEFW11S4 with Westell/Bellsouth DSL, and wanting file and print sharing

    I have configured the BEFW11S4 to share the DSL connection with Ethernet to home PC, and wireless to laptop.
    How can I configure this to also allow the laptop to connect to the home PC for file and printer sharing?
    Sorry if the is discussed elsewhere, im noob here and couldnt find anything applicable.
    Thanks!
    J

    Check IP on each PC: For example:
    PC1: 192.168.1.100
    PC2: 192.168.1.101
    Ping 192.168.1.101 from PC 1 and ping 192.168.1.100 from PC2... see which replies...
    If both give out positive replies... then that is not a router issue but PC issues. Might be firewalls.
    Message Edited by sharkbyte on 02-20-200701:32 PM

  • File and Print Sharing over wireless

    I have the following hardware:
    MBP - Brand spanking new kickin' machine running 10.4.x
    G4-400 - old but still doing nicely running 10.3.9
    PC running XP
    MBP has the extreme card built in
    G4-400 has a third party wireless card that's been working for 2 years
    PC has a netgear wireless card
    Router is a netgear WR814v2 wireless B
    Facts: Before I bought the MBP last week, I could access files between my G4 and PC fine over my network and access the web at the same time. When I connected the MBP to the network, I could surf. When i tried to turn on filesharing, it works for a short time, but then knocks the network offline. The model still shows a connection and my router still broadcasts and the wireless cards all get the signal, but nothing connects.
    To troubleshoot the issues, this is what I've done so far:
    When it went down, the first thing I did was turn file and print sharing off on both of the macs, restarted and tried the connection. Again, model still shows logged in, but no connection. Then i plugged the PC into the ethernet port on the router to get a wired line. Still no connection on the PC. Next, I shut down the macs, disabled the wireless on the PC and restarted the PC. Still no connection through the ethernet port even though the model and router still show all signs good. Also, through all this, I couldn't log into the router's IP address once I was wired to it. Next I shut down the router and modem, waited, then turned on the modem, waited for it to cycle to ready, then turned on the router. The modem showed that it was connected, then the router showed wireless broadcasting. Then I had my connection to the web back.
    I then went back to square one and tried file sharing again and again everything locked up. It seems like some how the file sharing between the macs is confusing the router. I tried fixing the ip address that the router assigns to each machine, but that didn't solve the problem. I'm at my knowledge's end. What am I doing wrong here? My goal is to share files at least between the macs and print through the G4 which has a USB and a Firewire printer attached. I'd like to accomplish the filesharing while still being able to access the web. But for some reason, I can the file sharing up and running for a short time, but then everything falls apart and locks up.
    MBP   Mac OS X (10.4.6)   G4-400 and PC also on network

    I figured out the networking mess - the secret, don't follow the instructions on the apple site - listen only to everyone in this discussion. I kept following the instructions to turn on appletalk and that's what was tying everything up. When I just use the sharing preference panel without going into the network preference panel, all is good in the world. I can now view all three computers with their shared folders(enhanced by sharepoint for a couple of external drives) and also print from all machines to the printers hooked up to the G4.
    PowerPC G4 400   Mac OS X (10.4.2)  

  • File and print sharing with wrt54g, ver. 6

    computers connected to my wrt54g, ver. 6, router (firmware ver 1.01.1) cannot see each other's shared files although they can all share the same internet connection just fine. file and print sharing has been set up on each (they were connected to a wired router before i purchased the wrt54g and they saw each other and shared files, no problem). how can i share files through this router? what went wrong?

    Are you running software firewalls on any computer? Has the LAN IP network changed (e.g. it was 192.168.0.* before and now 192.168.1.*)?

  • File and print sharing resource is online but isn't responding to connection attempts

    hi,
    I'm on windows 8.1 enterprise.  All of a sudden in windows explorter when I try to access drives on my network I get "file and print sharing resource is online but isn't responding to connection attempts"..  This formerly did not have
    any issues.
    I did a restore to a point where I know it did work...but it still does not connect to network drives.
    Please advise,thanks James
    AJ Anning

    Hi,
    I made a search in Cisco support forum and found some thread which had similar problem with yours, the solution of them maybe helpful with your.
    https://supportforums.cisco.com/discussion/11533701/cisco-anyconnect-3008057-certificate-validation-failure
    You can follow the reply of this thread to check Cisco certificate on your system.
    Open Certificate manager: Open Run, Type
    certmgr.msc , Press Enter.
    Roger Lu
    TechNet Community Support

Maybe you are looking for

  • Safari 3.2.1 With 10.5.6 Update = Corrupt Font Display

    Since updating to 10.5.6, Safari is corrupting the display of certain small fonts, such as the "Compose" and "Preview" tab labels at the top of this Discussion "New Topic" window, and mail subjects in Yahoo web mail. The problem is more severe with s

  • Parameters for Answers report.

    Hi, I am creating an Answers report. We need to give a date range as paramters. Do we have to use the column filter prompt for this or is there any other way we can create parameter range for this. Not on a dashboard but just an Answers report. Pleas

  • How to design a secure session key distribution?

    i am having some problem in key distribution using DES ,ElGamal, HMAC and MEYER 82. can any one help me with the distribution stucture?

  • Default Apps Settings Not Staying Set

    I have noticed that my default application settings keep resetting themselves each time I reboot. My default browser, mail app, EVERYTHING... without fail. Does anyone have a clue as to what would cause this to happen?

  • Bridge CS3 Indexing with Keywords

    Hi, When indexing, is the index saved? It seems that every time I search for a keyword Bridge indexes, then does not find the photos with the keyword. I have even searched the folder I know has the photos. Am I missing something?