Attention: PROnetworks has upgraded our forum from phpbb2 to phpbb3!!

Please head over to our new converted forum at: http://www.pronetworks.org/forums/

This old forum will remain 'read-only' until approximately February 2009. We look forward to seeing you at the new forum!
Author Message
nightfire
PostPosted: Fri Sep 05, 2008 8:13 pm Reply with quote

PRO Level 8
 
 


Joined: 27 May 2005
Posts: 348
Location: Humboldt
so, recently i inherited a computer lab full of windows xp computers and a dell server for domain control. after reformatting everything i set it all up and now have users logging onto the domain. So, ill make this short, but i need help writing a logon script that will mount an already mounted drive onto a users desktop or in place of "my documents" when they log on. It also needs to include a piece that mounts the networked printers from the server.

I know this is possible and ive seen it done before, but i forgot how, and honestly, i wouldn't even know how to start a script.

thanks for any reply!
 
Back to top
NT50
Jeff Replogle
PostPosted: Fri Sep 05, 2008 8:30 pm Reply with quote

VP - Support
 
 


Joined: 19 Jun 2004
Posts: 9444
Location: Jackson, TN USA
I use Group Policy to accomplish it with my student computer.

I also set the a private drive mapped to Z: within the profile setting.... example below



make sure they have a shared folder with permissions setup
 
Back to top
NT50
Jeff Replogle
PostPosted: Fri Sep 05, 2008 8:33 pm Reply with quote

VP - Support
 
 


Joined: 19 Jun 2004
Posts: 9444
Location: Jackson, TN USA
BTW: I also use the Group Policy Management Console to help with setting.
 
Back to top
nightfire
PostPosted: Fri Sep 05, 2008 9:57 pm Reply with quote

PRO Level 8
 
 


Joined: 27 May 2005
Posts: 348
Location: Humboldt
well, i already have both the profile path and the home path set up, but that only mounts z in my computer on the users login, whereas i need it to mount to the desktop.

This isn't nearly as crucial as the printer thing though, having the printers automatically mount upon logon, so the users don't have to go and get them everytime they switch computers or reboot
 
Back to top
NT50
Jeff Replogle
PostPosted: Fri Sep 05, 2008 10:05 pm Reply with quote

VP - Support
 
 


Joined: 19 Jun 2004
Posts: 9444
Location: Jackson, TN USA
You will need to setup roaming profiles then
 
Back to top
nightfire
PostPosted: Fri Sep 05, 2008 10:05 pm Reply with quote

PRO Level 8
 
 


Joined: 27 May 2005
Posts: 348
Location: Humboldt
whoops sorry, i thought i had included the printer problem in my original message, i was being rushed out the door...

so, the script has to mount the already installed printers on the server onto the network domain users' printer menu

if anyone knows this stuff, any help is appreciated thumbsup
 
Back to top
nightfire
PostPosted: Fri Sep 05, 2008 10:08 pm Reply with quote

PRO Level 8
 
 


Joined: 27 May 2005
Posts: 348
Location: Humboldt
well, i thought roaming profiles were just the profiles path, which follows users no matter where they log on
 
Back to top
NT50
Jeff Replogle
PostPosted: Fri Sep 05, 2008 10:27 pm Reply with quote

VP - Support
 
 


Joined: 19 Jun 2004
Posts: 9444
Location: Jackson, TN USA
correct

maybe Bobby will pick up on this. He has script experience and I do not.

There is also a huge amount of scripts on the net for free. Just takes time to find one and modify it.

I do not know scripts well but as soon as I get through the education I am pursuing now, I want to learn scripting.
 
Back to top
NT50
Jeff Replogle
PostPosted: Fri Sep 05, 2008 10:37 pm Reply with quote

VP - Support
 
 


Joined: 19 Jun 2004
Posts: 9444
Location: Jackson, TN USA
 
Back to top
nightfire
PostPosted: Sat Sep 06, 2008 1:20 am Reply with quote

PRO Level 8
 
 


Joined: 27 May 2005
Posts: 348
Location: Humboldt
well, i think i found a piece of code for the printers, but i think what i may have overlooked was that i am making a batch file to apply on that page where you specify a user's login. i guess thats just a script in a .bat file that i place somewhere on my harddrive.

so, i found this piece below, can i just insert that into the .bat and it will be able to run correctly as every user logs in?
Set WshNetwork = CreateObject("WScript.Network")

WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300"
WshNetwork.SetDefaultPrinter "\\PrintServer1\Xerox300"
 
Back to top
Back to top
Index >> Windows XP Support & Discussion >> MS Server 2000/2003 Discussion/Issues

Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Page 1 of 9

 


Tired of the Ads? Registered users have 80% less adverts.