Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need script to assign printer in XP 1

Status
Not open for further replies.

deik313

Technical User
Dec 12, 2002
101
US
Can someone give me a login script that works on XP/Pro clients that will assign a printer to a roaming profile based on the machine that's being logged in on? For example, user logs into machine1 and needs printer1, and then logs into machine2 and uses printer2, and the correct printer is connected respectively. There is one on the MS web site, but it doesn't work on XP. Also, when I run a login script, does the script need to reside on the server, or on the local machine (dumb question, I know, but I honestly don't know)? What folder do I put it in? One more stupid question, how do I find the UNC name of the printer to use in the script?
Thx,
Dei
 
HI,

Please go through this article this will help you in creating vb-scripts read it carefully


If you are using login scripts then do save the scripts in
"netlogon" share of your domain controller. Or if are creating GPO then there is option in GPO for scripts .i.e startup and shutdown.

and abt UNC i.e. Universal naming convension. e.g.

\\server\sharename

fot printer it is the same only share your printer and

\\printservr\printersharename


HTH Aslam
 
Thank you...this is exactly what I needed!
dei
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top