MS Server 2000/2003 Discussion/Issues
Request Help & Support or discuss issues with all Windows versions from Windows NT to Windows XP.

Moderators: Management, Forum Experts

Postby nightfire on Tue Sep 09, 2008 10:12 pm

well thats a great guide, but it requires creating new directories for the user's my documents, instead of just using their z drive.

i guess i could switch to that, but it would be sort of a b*tch to do for every created user

the printer script is listed in one of my previous posts, and would not work when i used it. I put it in the user logon script, and the gpo logon script, no results
(Gigabyte GA-M57SLI-S4 Mobo)(AMD Athlon 64 X2 5600+)(3.5 GB high speed ram?)(EVGA Geforce 8800GTS)(500 GB and 1 TB Sata Drives)super high speed, 3COM 56k Modem!!
User avatar
nightfire
PRO Level 8
PRO Level 8
 
Posts: 347
Joined: Fri May 27, 2005 2:39 am
Location: Humboldt

Postby _Taz_ on Tue Sep 09, 2008 10:19 pm

if you set the permissions correctly when they logon it should create the folder for them. make a testou, put a computer and testuser in there and try it.

sorry missed your printer script, not it will not work like it is. I will take a look in the am and append it for you.
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Tue Sep 09, 2008 10:23 pm

alright, thanks so much for all the help

its been a hell of a week trying to get three labs off the ground in a school

and the current one needs to be completely rebuilt! :shocked: :shocked:
(Gigabyte GA-M57SLI-S4 Mobo)(AMD Athlon 64 X2 5600+)(3.5 GB high speed ram?)(EVGA Geforce 8800GTS)(500 GB and 1 TB Sata Drives)super high speed, 3COM 56k Modem!!
User avatar
nightfire
PRO Level 8
PRO Level 8
 
Posts: 347
Joined: Fri May 27, 2005 2:39 am
Location: Humboldt

Postby _Taz_ on Wed Sep 10, 2008 10:43 am

well for printers you can do something like this in your login script (this is assuming you are using a .vbs login script)

Code: Select all
Option Explicit
Dim objNetwork, strLocal, strUNCPrinter1, strUNCPrinter2
strUNCPrinter1 = "\\superTaz\HPLaserJ"
strUNCPrinter2 = "\\superTaz\Epson"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection strUNCPrinter1
objNetwork.AddWindowsPrinterConnection strUNCPrinter2

WScript.Quit


change superTaz to your server and HPLaserJ to the shared as name of your printer. adding a 3rd or 4th printer is as easy as adding strUNCPrinter3 and adding objnetwork line for same printer.
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Wed Sep 10, 2008 10:58 am

well, i got the redirection of my docs right, thank you guys so much for help on that! ^*^

I tried that printer script by putting it in the .vbs i made and applied it to a single user's logon script.

Do i need to use it as the gpo logon script instead?

i filled in my server name and printer name, but i want server and not domain?

and it should be the printer shared name and not the local name?
(Gigabyte GA-M57SLI-S4 Mobo)(AMD Athlon 64 X2 5600+)(3.5 GB high speed ram?)(EVGA Geforce 8800GTS)(500 GB and 1 TB Sata Drives)super high speed, 3COM 56k Modem!!
User avatar
nightfire
PRO Level 8
PRO Level 8
 
Posts: 347
Joined: Fri May 27, 2005 2:39 am
Location: Humboldt

Postby _Taz_ on Wed Sep 10, 2008 11:03 am

by server i mean where it's being shared from.
if it's shared on a workstation named bob then it would be \\bob\sharedname

and yes shared name of printer if you right click the printer and select shared you will see it's shared name not always the same as it's local name
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Wed Sep 10, 2008 11:07 am

do i run the script for each user, or just put it under the gpo?

and i just realized that i may have been blocking the script when i disabled users from running cmd
(Gigabyte GA-M57SLI-S4 Mobo)(AMD Athlon 64 X2 5600+)(3.5 GB high speed ram?)(EVGA Geforce 8800GTS)(500 GB and 1 TB Sata Drives)super high speed, 3COM 56k Modem!!
User avatar
nightfire
PRO Level 8
PRO Level 8
 
Posts: 347
Joined: Fri May 27, 2005 2:39 am
Location: Humboldt

Postby _Taz_ on Wed Sep 10, 2008 11:12 am

well you could do it either way
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Wed Sep 10, 2008 3:37 pm

alright, well i tried the printer script in both logon script locations and still nothing, not even a cmd box when logging on

btw, im running server 2000

also, how do you make a shared folder mount upon logon, like a publicly shared folder on the server? I did this once in the script but forgot how, it should be easy though...
(Gigabyte GA-M57SLI-S4 Mobo)(AMD Athlon 64 X2 5600+)(3.5 GB high speed ram?)(EVGA Geforce 8800GTS)(500 GB and 1 TB Sata Drives)super high speed, 3COM 56k Modem!!
User avatar
nightfire
PRO Level 8
PRO Level 8
 
Posts: 347
Joined: Fri May 27, 2005 2:39 am
Location: Humboldt

Postby _Taz_ on Wed Sep 10, 2008 3:42 pm

well first off lets get this script going then we can map drives.

what did you name the file?

can you post it here using the code tags?

I'll look and then add in some echo statement so you can see what's happening
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

PreviousNext

Return to Windows XP

Who is online

Users browsing this forum: No registered users and 0 guests