MkII Posted September 14, 2005 Posted September 14, 2005 I'm having problems with my printer script. We migrated to W2003 server on a new box, leaving the demoted DC as the Print Server. Users can browse to all the printers no problem, and the script runs fine for all users [i've tested running it visibly and it steps through everything fine] but no printer gets attached. I have mostly XP clients and some 2000 clients. Anyone help?
RobC Posted September 14, 2005 Posted September 14, 2005 Can you post the script in full for us to check?
Dos_Box Posted September 14, 2005 Posted September 14, 2005 I had to re-write some 2K scripts for XP as the syntax has changed on alot of commands. You might want to start looking there first.
Geoff Posted September 14, 2005 Posted September 14, 2005 Rics script (heavily modified by me) works fine for me in a number of schools running XP + W2k3 server. http://www.edugeek.net/index.php?name=Forums&file=viewtopic&t=404
MkII Posted September 14, 2005 Author Posted September 14, 2005 My script worked for my network perfectly before the migration - with no changes anywhere else - so there's no problem with the script. here's an excerpt anyway [kix32]: DelPrinterConnection ("\\SERVER\printer") set computer="@wksta" $room=SubStr(@wksta,2,2) $client=SubStr(%clientname%,2,2) Select Case ($room="EC") AddPrinterConnection ("\\SERVER\printer") SetDefaultPrinter ("SERVER\printer") EndSelectSelect Select Case ($room="19") AddPrinterConnection ("\\SERVER\printer") SetDefaultPrinter ("\\SERVER\printer") EndSelect Select
tarquel Posted September 14, 2005 Posted September 14, 2005 looks good to me mark the thought occurs - how is the script being executed? have you moved the script to the netlogon of the 2003 server then? mine is working fine - just for equal measure, i've added kix32.exe (with share path) to the firewall exceptions list but it was working before i did that One thought is - when installing Server 2003 - did it have sp1 slipstreamed into it i.e. server 2003 SP1 CD - or not because if so, the server's firewall will be on by default, as opposed to installing SP1 afterwards (in the later - you have to run a wizard to enable it and other stuff - not done it so dont know what process it is exactly) PS have you tried using the latest version of kix32.exe - it *may* help but wont do any harm as u dont have any complex things that might have changed Cheers Nath
MkII Posted September 15, 2005 Author Posted September 15, 2005 the script has moved to the netlogon share of the new dc - I changed the call path to the DC. As I say - the script runs fine without errors - just doesn't give the desired result! Checked - firewall is off on server.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now