UnaBonger Posted October 13, 2003 Share Posted October 13, 2003 How can I install a shared printer via login script? Something like - net use \\computer\printername ? what am I missing? Link to comment Share on other sites More sharing options...
PsychCom Posted October 14, 2003 Share Posted October 14, 2003 this script works of you have added the pritner to a windows 2000/xp/2003 pc and shared it whit the drivers: - open notepad. - paste this [not the ---------------] ------------------------------------------------------------------------- if %OS% == Windows_NT goto nt goto win :nt echo NT! rundll32 printui.dll PrintUIEntry /ga /n \\server\printersharename :win net use printersharename :end ------------------------------------------------------------------------- - save as scriptname.bat - add to AD true GP or profile login script.. [on the machine not on the user in AD] Link to comment Share on other sites More sharing options...
UnaBonger Posted October 14, 2003 Author Share Posted October 14, 2003 Thanks! I'll give it a try and let you know how it goes... Link to comment Share on other sites More sharing options...
Recommended Posts