|
|
|
nightfire
|
Posted:
Fri Sep 05, 2008 8:13 pm |
|
|
|
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 |
Posted:
Fri Sep 05, 2008 8:30 pm |
|
|
|
Vice President Support
Joined: 19 Jun 2004
Posts: 9376
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 |
Posted:
Fri Sep 05, 2008 8:33 pm |
|
|
|
Vice President Support
Joined: 19 Jun 2004
Posts: 9376
Location: Jackson, TN USA
|
|
|
Back to top
|
|
|
|
nightfire
|
Posted:
Fri Sep 05, 2008 9:57 pm |
|
|
|
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 |
Posted:
Fri Sep 05, 2008 10:05 pm |
|
|
|
Vice President Support
Joined: 19 Jun 2004
Posts: 9376
Location: Jackson, TN USA
|
|
You will need to setup roaming profiles then
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
nightfire
|
Posted:
Fri Sep 05, 2008 10:05 pm |
|
|
|
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 
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
nightfire
|
Posted:
Fri Sep 05, 2008 10:08 pm |
|
|
|
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 |
Posted:
Fri Sep 05, 2008 10:27 pm |
|
|
|
Vice President Support
Joined: 19 Jun 2004
Posts: 9376
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 |
Posted:
Fri Sep 05, 2008 10:37 pm |
|
|
|
Vice President Support
Joined: 19 Jun 2004
Posts: 9376
Location: Jackson, TN USA
|
|
|
Back to top
|
|
|
|
nightfire
|
Posted:
Sat Sep 06, 2008 1:20 am |
|
|
|
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 |
|
|
|
|
|