Jump to content

Recommended Posts

Posted

Hi, All:

I tried to edit some of my logon script, but i got error message: "The file

name, directory name, or volume label syntax is incorrect"

 

Anyone knows what it means? BTW, we are running win2003 network with AD.

Thanks

  • Replies 6
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: cannot open logon script

 

 

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

news:BA8CD12D-3226-40A1-82CC-62DA75F019C5@microsoft.com...

> Hi, All:

> I tried to edit some of my logon script, but i got error message: "The

> file

> name, directory name, or volume label syntax is incorrect"

>

> Anyone knows what it means? BTW, we are running win2003 network with AD.

> Thanks

 

Can't tell - you need to post the exact command & file name

you used. Remember - we can't see your server!

Posted

Re: cannot open logon script

 

Well, that is what i did:

 

login to the server,

go to RUN

\\servername\netlogon

all logon scripts shown up there

 

then, when I tried to edit the logon scripts, that is when i got those error

mesage.

 

Thanks,

 

"Pegasus (MVP)" wrote:

>

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

> news:BA8CD12D-3226-40A1-82CC-62DA75F019C5@microsoft.com...

> > Hi, All:

> > I tried to edit some of my logon script, but i got error message: "The

> > file

> > name, directory name, or volume label syntax is incorrect"

> >

> > Anyone knows what it means? BTW, we are running win2003 network with AD.

> > Thanks

>

> Can't tell - you need to post the exact command & file name

> you used. Remember - we can't see your server!

>

>

>

Guest Pegasus \(MVP\)
Posted

Re: cannot open logon script

 

You probably have insufficient access rights. Instead of

relying on GUIs (which are great for end users!), try this

Command Prompt approach:

- Click Start / Run / cmd(OK)

- Type these commands:

net use Q: \\servername\netlogon{Enter}

notepad Q:\YourLogonScript.bat{Enter}

 

What do you get?

 

 

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

news:AFAF68F5-241D-4B15-8CD9-3DC8594D5D08@microsoft.com...

> Well, that is what i did:

>

> login to the server,

> go to RUN

> \\servername\netlogon

> all logon scripts shown up there

>

> then, when I tried to edit the logon scripts, that is when i got those

> error

> mesage.

>

> Thanks,

>

> "Pegasus (MVP)" wrote:

>

>>

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

>> news:BA8CD12D-3226-40A1-82CC-62DA75F019C5@microsoft.com...

>> > Hi, All:

>> > I tried to edit some of my logon script, but i got error message: "The

>> > file

>> > name, directory name, or volume label syntax is incorrect"

>> >

>> > Anyone knows what it means? BTW, we are running win2003 network with

>> > AD.

>> > Thanks

>>

>> Can't tell - you need to post the exact command & file name

>> you used. Remember - we can't see your server!

>>

>>

>>

Posted

Re: cannot open logon script

 

It WORKS!

 

Thanks!

It is weird though since I login to the server (Domain Controller) as domain

administrator. it had been working until last week(?). How do you explain

the access right issue?

 

Thanks alot!

 

"Pegasus (MVP)" wrote:

> You probably have insufficient access rights. Instead of

> relying on GUIs (which are great for end users!), try this

> Command Prompt approach:

> - Click Start / Run / cmd(OK)

> - Type these commands:

> net use Q: \\servername\netlogon{Enter}

> notepad Q:\YourLogonScript.bat{Enter}

>

> What do you get?

>

>

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

> news:AFAF68F5-241D-4B15-8CD9-3DC8594D5D08@microsoft.com...

> > Well, that is what i did:

> >

> > login to the server,

> > go to RUN

> > \\servername\netlogon

> > all logon scripts shown up there

> >

> > then, when I tried to edit the logon scripts, that is when i got those

> > error

> > mesage.

> >

> > Thanks,

> >

> > "Pegasus (MVP)" wrote:

> >

> >>

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

> >> news:BA8CD12D-3226-40A1-82CC-62DA75F019C5@microsoft.com...

> >> > Hi, All:

> >> > I tried to edit some of my logon script, but i got error message: "The

> >> > file

> >> > name, directory name, or volume label syntax is incorrect"

> >> >

> >> > Anyone knows what it means? BTW, we are running win2003 network with

> >> > AD.

> >> > Thanks

> >>

> >> Can't tell - you need to post the exact command & file name

> >> you used. Remember - we can't see your server!

> >>

> >>

> >>

>

>

>

Guest Pegasus \(MVP\)
Posted

Re: cannot open logon script

 

 

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

news:C8361C02-D92E-4434-AA1C-E08867A6466F@microsoft.com...

> It WORKS!

>

> Thanks!

> It is weird though since I login to the server (Domain Controller) as

> domain

> administrator. it had been working until last week(?). How do you explain

> the access right issue?

>

 

I can't. The overall message is: As an administrator, do not

underestimate the power of the Command Prompt.

Guest Newell White
Posted

Re: cannot open logon script

 

 

"Pegasus (MVP)" wrote:

>

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

> news:C8361C02-D92E-4434-AA1C-E08867A6466F@microsoft.com...

> > It WORKS!

> >

> > Thanks!

> > It is weird though since I login to the server (Domain Controller) as

> > domain

> > administrator. it had been working until last week(?). How do you explain

> > the access right issue?

> >

>

> I can't. The overall message is: As an administrator, do not

> underestimate the power of the Command Prompt.

>

>

I think W2k3 stops anyone from editing the logon script in situ, for fairly

obvious reasons.

 

I get round it by copying to My Documents with Explorer, editing, TESTING,

and then copy tested script back to \\server1\sysvol

 

--

Regards,

Newell White


×
×
  • Create New...