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 Wed Sep 10, 2008 3:54 pm

well, ive been playing around with it, and currently its a .bat, but ive tried .vbs too

im using it in the gpo and i set it for a test user and still no success.

im thinking that maybe i need to change a policy to allow scripts, maybe i just disabled that accidentaly...i turned the command prompt back on until i can at least get this to work


the code is below, including the server name and printer share name.

maybe i have to reboot or something?
(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 nightfire on Wed Sep 10, 2008 3:57 pm

ooh, im sorry

i've been working with the wrong script, i switched back to check both :oops:

well thats probably not good, ill test and repost your script
(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 nightfire on Wed Sep 10, 2008 4:05 pm

ok, i tested your script in a .bat, not sure if thats how it's supposed to run, and it failed

here it is below, my original script is above
(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 4:08 pm

change it to vbs file.

just double click it on your machine, it should connect the printers.
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Wed Sep 10, 2008 4:17 pm

wow, so i ran the script on the computer and it worked, but it didn't happen on login, which is what i need for every user
(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 4:21 pm

ok so now copy that file to your netlogon directory then set that as the user login script
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Wed Sep 10, 2008 4:36 pm

uh, net logon directory?

and do i need to apply that for every user under user profiles, or do i need to run that file for every user?
(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 4:49 pm

yes, look on your domain controller you will find a netlogon directory.
put this file there. then set each users login script to that file
User avatar
_Taz_
Support Team
 
Posts: 1215
Joined: Tue Jun 29, 2004 10:01 am
Location: Florida

Postby nightfire on Wed Sep 10, 2008 4:55 pm

well, im on the domain controller, and there is no folder called netlogon, anywhere

is there a path?
(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 5:03 pm

well it's shared as netlogon it should be C:\WINNT\SYSVOL\domain\scripts

but you should actually do this stuff from a workstation not the sever itself
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