Scripts Thread, Print script not playing ball in Coding and Web Development; This morning I came into work to find the printers were not being mapped to staff machines, the staff logon ...
-
21st June 2011, 09:32 AM #1
Print script not playing ball
This morning I came into work to find the printers were not being mapped to staff machines, the staff logon script is as follows:
reg delete "hkcu\printers\connections" /f
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\staff_room$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\library$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\science$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\col_it_room$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\Maths$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\curriccentre$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\cLT$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\IB_SCB$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\AblockCLT$
rundll32 printui.dll,PrintUIEntry /y /n\\servername\staff_room$
rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\Art$
This has always worked in the past but as of this morning users recieve an error "Windows cannot connect to the printer. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the server"
Clients can reach the server ok and the print server can print to all networked printers.
Update:
It appears admin side of the network can print still, and I tryed running via the curric server for emergency circumstances without any issues. It appears its just the connection between curric clients and the print server
Last edited by bondbill2k2; 21st June 2011 at 09:53 AM.
-
-
IDG Tech News
-
21st June 2011, 10:01 AM #2 i had the similar situation but that time user roaming profiles were not loaded properly. it happened to a particular user.
-
-
21st June 2011, 10:07 AM #3 
Originally Posted by
bondbill2k2
Update:
It appears admin side of the network can print still, and I tryed running via the curric server for emergency circumstances without any issues. It appears its just the connection between curric clients and the print server
Have you tried connecting to it directly? Just using it as "run" the server/print name etc.
Just to ensure it can actually connect. Might be nothing wrong in the script, and just lost access to view/connect for some reason.
Steve
-
-
21st June 2011, 10:37 AM #4 Yep I tried this with no luck so I ruled out the script. Sorted now but I've no idea why the cause of this problem had even occured.
Our curric subnet is 255.255.248.0.....the curric NIC on the print server was for some reason set to 255.255.248.0, changed it back to 248 and its fine but why it wrong i've no idea and neither does the network manager who locked up last night
-
SHARE: 
Similar Threads
-
By mattx in forum Jokes/Interweb Things
Replies: 0
Last Post: 17th June 2011, 10:53 PM
-
By DrPerceptron in forum Internet Related/Filtering/Firewall
Replies: 6
Last Post: 24th December 2009, 06:51 PM
-
By ricki in forum Windows
Replies: 4
Last Post: 8th December 2009, 01:25 PM
-
By contink in forum Coding
Replies: 9
Last Post: 26th February 2007, 12:45 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules