Jump to content

Recommended Posts

Guest Kevin
Posted

Hi,

 

I am using login scripts with Group Policies. When someone logs into the

network from a local desktop PC the scripts work fine - drives and printers

are setup. When someone logs in through terminal services the following error

message is received:

 

Script: Gives me the script path

Line: 71

Char: 4

Error: The filename, directory name, or volume label syntax is incorrect

Code: 8007007B

Source: (null)

 

Here is the code from the login script:

 

objNetwork.AddWindowsPrinterConnection "\\w2kus-van1-1\DP-2310"

 

- w2kus-van1-1 is the terminal server as well as the print server where the

printer resides.

 

Any ideas?

Thanks,

Kevin.

  • Replies 1
  • Created
  • Last Reply
Guest Ratnesh Yadav [MSFT]
Posted

Re: Login Scripts

 

Check following link

How to Set Up a Logon Script Only for Terminal Server Users

http://support.microsoft.com/?kbid=195461

 

Ratnesh

 

"Kevin" <Kevin@discussions.microsoft.com> wrote in message

news:1100B5C1-6C5B-48E4-A4C9-831C67735537@microsoft.com...

> Hi,

>

> I am using login scripts with Group Policies. When someone logs into the

> network from a local desktop PC the scripts work fine - drives and

> printers

> are setup. When someone logs in through terminal services the following

> error

> message is received:

>

> Script: Gives me the script path

> Line: 71

> Char: 4

> Error: The filename, directory name, or volume label syntax is incorrect

> Code: 8007007B

> Source: (null)

>

> Here is the code from the login script:

>

> objNetwork.AddWindowsPrinterConnection "\\w2kus-van1-1\DP-2310"

>

> - w2kus-van1-1 is the terminal server as well as the print server where

> the

> printer resides.

>

> Any ideas?

> Thanks,

> Kevin.


×
×
  • Create New...