I think you may owe me a cold beer for this tip.
Under XP if the user is not an Adminstrator they will be blocked from assinging LPT1 with NET USE if they have a physical parallel port on their workstation.
Reference:
You need to modify any WHS script you are using, or any batch file, under XP to disable this device.
I provide a lengthy explanation in another thread on this site about how to use the devcon.exe utility from the SDK toolkit to do this. thread779-510555 near the bottom of the thread about how to use Devcon in a login script. You could just as easily apply it to any script, assuming you place devcon.exe in a directory that is a member of their PATH environmental variable.
Just remember these important "gotchas"
. Use devcon to disable under XP the local computer LPT1 device;
. You can then NET USE, or this trick. The /y parameter assigns under XP the default parameter for the printer:
rundll32 printui.dll,PrintUIEntry /in /n \\share_server\share_printername
# set as default printer, an optional choice:
rundll32 printui.dll,PrintUIEntry /in /n \\share_server\shareprintername /y
I think you owe me a beer.