?
Solved

File and Print Sharing Problems

Posted on 2007-10-09
13
Medium Priority
?
205 Views
Last Modified: 2010-04-12
I've been having a problem lately sharing files and printers on the network.  I install the printer and shared the printer and everything will work fine for 1 or 2 days then the printer will no longer be available. I get the error "Windows cannot connect to the printer. Either the printer name was typed incorrectly or the specified printer has lost it's connection to the server."  However, if I take the computer off the domain and rejoin it, it'll share the printer again. I shouldn't have to keep rejoing PC's to the domain in order to share files and printers.  I get the same problem when trying to share a folder on a computer. Possibly there could be permission errors but I doubt it. Any help would be appreciated.

Thanks
0
Comment
Question by:dkwymer
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 6

Expert Comment

by:Galtar99
ID: 20044929
Check your event logs.  On the domain controller, check the security event logs to see why the shares are no longer active or what's wrong with the computer accounts.  If the shares are on another computer, check the event logs there too.
0
 
LVL 4

Expert Comment

by:pstrawser
ID: 20045032
is your server hosting the printer server and also the file that you are sharring..  if you are sharing the file from a workstation (xp pro,, or 2000 pr)  then this problem is true.. it will disconnnect

net use x: \\fileserverName\fileshare password /user:domain\username /persistent:yes
0
 
LVL 4

Expert Comment

by:mttyd
ID: 20045637
I had an issue with sharing printers and Vista.  every month or so I would have to remove and add the printer back to the client.  The machine serving the printer was an xp box so my problem was on the Vista side.  
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:pstrawser
ID: 20045831
mttyd,

can you setup ip on the printer (or buy some switch that act like a print server) install the server on your server then point everyone to that.. instead of using the workstation ..  that way the work station can be shutdown once in a while..

dkwymer,

how big of a company do you work for. and how many user do you have to manually do that script..  it might be just wise to write a batch (script) to install the printer everytime the user start the computer

-------
RunDll32.EXE printui.dll,PrintUIEntry /in /n \\sever\printername

I think your ""'s should be around the whole UNC.

rundll32 printui.dll,PrintUIEntry /ga /c\\HPComputer /n"\\server1\HP LaserJet 4100N"

You can also set the printer as default by using this:
RunDll32.EXE printui.dll,PrintUIEntry /y /n \\server\printername
-------

i hope you know how to write some simple batch file..  if not we more problem!! hehehe

let us know if you need more assistant
0
 
LVL 4

Expert Comment

by:mttyd
ID: 20047863
yea we could have set it up to be a network printer but that would have meant extra $.  The printer we were sharing was a local desktop printer for one of our techs and while the setup wasn't optimal it worked (atleast till the problems in vista).

Another thought with this question...  Check to see if your printer is using DHCP.  Perhaps something funky is going on when it renews it address.  You might want to set a perminant IP and then reserve that IP on your server.  Just another idea...
0
 
LVL 6

Expert Comment

by:Galtar99
ID: 20049248
Updates?
0
 

Author Comment

by:dkwymer
ID: 20068404
How about the firewall? File and print sharing is enabled and TCP port 445 is enabled. Is there anything else on the firewall end that could cause this?
0
 
LVL 6

Expert Comment

by:Galtar99
ID: 20068546
Did you check your event logs?
0
 
LVL 4

Expert Comment

by:pstrawser
ID: 20069607
if you are thinking about firewall.. just disable it and try doing what you need to do and if it doesn't work then you know it's not the firewall....

just write the script and put it on the startup of the user, so everytime they start the printer will install....

or atlest conferm it.. it wil notify you if it is already there....    

or just write a script to when it start up just remove the server and reinstall using the same script

like if you are sharing network drives

net use j: /delete
net use j: \\server\fileshare


you know what i mean.. just try that out and see if it will work for you, else just buy a small printer server switch.. that's going to cost $50.. that's a long time fix.. atleast you won't have to worry about sharing the printer from workstation.. you can put them somewhere else if you have to, to make them more centralize....   have fun man.. cheerrrssss
0
 

Author Comment

by:dkwymer
ID: 20077859
I found out what the problem is.  We have a group policy that controls our windows firewall. The group policy is set to allow file and print sharing on port 445 (TCP) with a scope of any but for some reason it's not being pushed out to all users. I noticied the users who had this problem, the file and print sharing group policy setting was set to a scope of custom. I think this is the culprit. It's a group policy firewall issue. The group policy isn't set up to have a customized scope it's just the policy isn't being pushed out properly. I tried doing a gpupdate /force command and it worked for one user, however I could never get it to go on the other computer. I just need to figure out why the policy won't push down to this computer. Any suggestions?
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 20293933
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question