Mapping network printer to standalone machines.
We have several standalone machines not part of the domain that we want to add a networked printer to.
I've used the following: rundll32 printui.dll,PrintUIEntry /ga /n\\SERVERNAME\printershare to successfully map the printers to all users, however, it displays "access denied, unable to connect."
I'm guessing this is because it can't authenticate the user and we dont want it prompting for a username each time. Is there a way I can include user details in the script so it will automatically connect?
Any help much appreciated,