Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Win2003 Server logon script and printer

Win2003 Server logon script and printer

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Win2003 Server logon script and printer

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.setup_deployment (More info?)

 

I have a new Windows 2003 server. I have the netlogon share setup and a
batch file in it. However, none of the clients seem to execute the batch
(ie, they never even try to run it). I have it setup as the logon script.
Any ideas what to check out?

Also, I have a group of XP clients with 1-3 printers installed. The default
printer was changed on each from printer 1 to printer 3 - however, on a
reboot (not on a logoff/login) the default resets to the original. I don't
see any policy settings restricting this in any way. Any idea what to look
at here?

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.setup_deployment (More info?)

 

Hi Steve,

1. Make sure the user account has the name of the logon script in their
profile. You should see it in the "logon script" field. Just enter
logon.bat, don't put in a path if the file lives in the netlogon share.

2. I use a vbs script that applies to computer accounts:
You use this Policy:



Computer>Admin Templates>System>Logon>Run these programs at user logon.
Youshould use the UNC to to the location
(\\servername\share\script.vbs).Here is an example vbs script that adds two
printers, printer 1 becomes the user's default printer: (it sets the
default printer for you each time the user logs on)

On Error Resume Next
Set WshNetwork = CreateObject("WScript.Network" )
PrinterPath = "\\server\printer1"
PrinterDriver = "HP LaserJet 1000 Series PCL"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
WshNetwork.SetDefaultPrinter "\\server\printer1"

'Set WshNetwork = CreateObject("WScript.Network" )
'PrinterPath = "\\server\printer2"
'PrinterDriver = "HP Deskjet 895"
'WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver

--
Scott Baldridge
Windows Server MVP, MCSE


"Steve"
>I have a new Windows 2003 server. I have the netlogon share setup and a
> batch file in it. However, none of the clients seem to execute the batch
> (ie, they never even try to run it). I have it setup as the logon script.
> Any ideas what to check out?
>
> Also, I have a group of XP clients with 1-3 printers installed. The
> default
> printer was changed on each from printer 1 to printer 3 - however, on a
> reboot (not on a logoff/login) the default resets to the original. I don't
> see any policy settings restricting this in any way. Any idea what to look
> at here?
>
>

Reply to Anonymous
- 0 +

Archived from groups: microsoft.public.win2000.setup_deployment (More info?)

 

Thanks, I wonder if my issue is that I do put
\\servername\netlogon\logon.bat in for the user. I shall try dropping the
\\servername\netlogon portion. Thanks!!

"NIC Student" <nospam@nospam.land> wrote in message
news:eENWgmz8EHA.2012@TK2MSFTNGP15.phx.gbl...
> Hi Steve,
>
> 1. Make sure the user account has the name of the logon script in their
> profile. You should see it in the "logon script" field. Just enter
> logon.bat, don't put in a path if the file lives in the netlogon share.
>
> 2. I use a vbs script that applies to computer accounts:
> You use this Policy:
>
>
>
> Computer>Admin Templates>System>Logon>Run these programs at user logon.
> Youshould use the UNC to to the location
> (\\servername\share\script.vbs).Here is an example vbs script that adds
two
> printers, printer 1 becomes the user's default printer: (it sets the
> default printer for you each time the user logs on)
>
> On Error Resume Next
> Set WshNetwork = CreateObject("WScript.Network" )
> PrinterPath = "\\server\printer1"
> PrinterDriver = "HP LaserJet 1000 Series PCL"
> WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
> WshNetwork.SetDefaultPrinter "\\server\printer1"
>
> 'Set WshNetwork = CreateObject("WScript.Network" )
> 'PrinterPath = "\\server\printer2"
> 'PrinterDriver = "HP Deskjet 895"
> 'WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
>
> --
> Scott Baldridge
> Windows Server MVP, MCSE
>
>
> "Steve"
> >I have a new Windows 2003 server. I have the netlogon share setup and a
> > batch file in it. However, none of the clients seem to execute the batch
> > (ie, they never even try to run it). I have it setup as the logon
script.
> > Any ideas what to check out?
> >
> > Also, I have a group of XP clients with 1-3 printers installed. The
> > default
> > printer was changed on each from printer 1 to printer 3 - however, on a
> > reboot (not on a logoff/login) the default resets to the original. I
don't
> > see any policy settings restricting this in any way. Any idea what to
look
> > at here?
> >
> >
>
>

Reply to steve
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Win2003 Server logon script and printer
Go to:

There are 1338 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them