Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > domain logon script does not run

Reply
Thread Tools Display Modes

domain logon script does not run

 
 
Onetoomany
Guest
Posts: n/a

 
      02-06-2008
Win XP MCE (configured as part of a domain, using one of the registry hacks)
2003 server

When I log onto the MCE box, the logon script does not run. I can manually
navigate to the folder "netlogon on *server*" and run logon.vbs, and my
network drives are then mapped. However, this does not run automatically; I
believe that I've configured the global profiles etc... on the server
correctly. I think this is a client issue, not a server issue as the logon
script runs on the server perfectly but not on the client.

I've also tried cheating by putting a shortcut to the logon script in the
startup folder, but it still does not run. However, I can run the logon
script by later navigating to the Startup folder and clicking on logon.vbs

I've posted this to the MCE group, but we hit a brick wall there. I've
tried to remove myself from the domain, rename the user as .OLD, and rejoin
the doman. No joy.

Any ideas?

R



 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      02-07-2008
Onetoomany <> wrote:
> Win XP MCE (configured as part of a domain, using one of the registry
> hacks) 2003 server
>
> When I log onto the MCE box, the logon script does not run. I can
> manually navigate to the folder "netlogon on *server*" and run
> logon.vbs, and my network drives are then mapped. However, this does
> not run automatically; I believe that I've configured the global
> profiles etc... on the server correctly. I think this is a client
> issue, not a server issue as the logon script runs on the server
> perfectly but not on the client.
> I've also tried cheating by putting a shortcut to the logon script in
> the startup folder, but it still does not run. However, I can run
> the logon script by later navigating to the Startup folder and
> clicking on logon.vbs
> I've posted this to the MCE group, but we hit a brick wall there. I've
> tried to remove myself from the domain, rename the user as .OLD,
> and rejoin the doman. No joy.
>
> Any ideas?
>
> R


As you're no doubt aware you're using an unsupported config (which isn't to
say it can't work, mind you), you might mention what happens on WinXP Pro or
2k or Vista Business machines when they log in.

Also, mention more info about the login script (assigned via GPO?) and what
your event log says on the client.


 
Reply With Quote
 
 
 
 
Saral6978
Guest
Posts: n/a

 
      02-07-2008
Maybe this is a dumb suggestion, you could try changing your script from
a logon.vbs to a logon.bat file instead? All my login scripts are .bat files
and run smoothly. I had one user (a developer) who at one time had his own
script and it was a vbs and it always seemed to have a problem.

Anyway, something to try as a test, maybe? Maybe it truly doesn't matter,
but just a thought...

Hello Lanwench [MVP - Exchange],

> Onetoomany <> wrote:
>
>> Win XP MCE (configured as part of a domain, using one of the registry
>> hacks) 2003 server
>>
>> When I log onto the MCE box, the logon script does not run. I can
>> manually navigate to the folder "netlogon on *server*" and run
>> logon.vbs, and my network drives are then mapped. However, this does
>> not run automatically; I believe that I've configured the global
>> profiles etc... on the server correctly. I think this is a client
>> issue, not a server issue as the logon script runs on the server
>> perfectly but not on the client.
>> I've also tried cheating by putting a shortcut to the logon script in
>> the startup folder, but it still does not run. However, I can run
>> the logon script by later navigating to the Startup folder and
>> clicking on logon.vbs
>> I've posted this to the MCE group, but we hit a brick wall there.
>> I've
>> tried to remove myself from the domain, rename the user as .OLD,
>> and rejoin the doman. No joy.
>> Any ideas?
>>
>> R
>>

> As you're no doubt aware you're using an unsupported config (which
> isn't to say it can't work, mind you), you might mention what happens
> on WinXP Pro or 2k or Vista Business machines when they log in.
>
> Also, mention more info about the login script (assigned via GPO?) and
> what your event log says on the client.
>



 
Reply With Quote
 
Onetoomany
Guest
Posts: n/a

 
      02-10-2008
I've tried the tips with the following results:
XP Pro computer - script does not run
Logon.bat - ditto
In both cases, the script will run manually. (ie no success)

This makes me think its something in the way I've configured the server:
In gpedit.msc, under User Configuration / Scripts / Logon, I've entered:
\\myserver\netlogon\logon.vbs
The script sits in that folder, and Authenticed Users have read access.

R


"Saral6978" <> wrote in message
news:. com...
> Maybe this is a dumb suggestion, you could try changing your script from a
> logon.vbs to a logon.bat file instead? All my login scripts are .bat
> files and run smoothly. I had one user (a developer) who at one time had
> his own script and it was a vbs and it always seemed to have a problem.
> Anyway, something to try as a test, maybe? Maybe it truly doesn't matter,
> but just a thought...
>
> Hello Lanwench [MVP - Exchange],
>
>> Onetoomany <> wrote:
>>
>>> Win XP MCE (configured as part of a domain, using one of the registry
>>> hacks) 2003 server
>>>
>>> When I log onto the MCE box, the logon script does not run. I can
>>> manually navigate to the folder "netlogon on *server*" and run
>>> logon.vbs, and my network drives are then mapped. However, this does
>>> not run automatically; I believe that I've configured the global
>>> profiles etc... on the server correctly. I think this is a client
>>> issue, not a server issue as the logon script runs on the server
>>> perfectly but not on the client.
>>> I've also tried cheating by putting a shortcut to the logon script in
>>> the startup folder, but it still does not run. However, I can run
>>> the logon script by later navigating to the Startup folder and
>>> clicking on logon.vbs
>>> I've posted this to the MCE group, but we hit a brick wall there.
>>> I've
>>> tried to remove myself from the domain, rename the user as .OLD,
>>> and rejoin the doman. No joy.
>>> Any ideas?
>>>
>>> R
>>>

>> As you're no doubt aware you're using an unsupported config (which
>> isn't to say it can't work, mind you), you might mention what happens
>> on WinXP Pro or 2k or Vista Business machines when they log in.
>>
>> Also, mention more info about the login script (assigned via GPO?) and
>> what your event log says on the client.
>>

>
>



 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      02-11-2008
Onetoomany <> wrote:
> I've tried the tips with the following results:
> XP Pro computer - script does not run
> Logon.bat - ditto
> In both cases, the script will run manually. (ie no success)
>
> This makes me think its something in the way I've configured the
> server: In gpedit.msc, under User Configuration / Scripts / Logon,
> I've entered: \\myserver\netlogon\logon.vbs
> The script sits in that folder, and Authenticed Users have read
> access.
> R


Ah. That's your problem. Don't point it at a shortcut to the netlogon share.
Copy the vbscript to the default location for that GPO....or specify
logon.vbs in each user's ADUC properties.

>
>
> "Saral6978" <> wrote in message
> news:. com...
>> Maybe this is a dumb suggestion, you could try changing your script
>> from a logon.vbs to a logon.bat file instead? All my login scripts
>> are .bat files and run smoothly. I had one user (a developer) who
>> at one time had his own script and it was a vbs and it always seemed
>> to have a problem. Anyway, something to try as a test, maybe? Maybe
>> it truly doesn't matter, but just a thought...
>>
>> Hello Lanwench [MVP - Exchange],
>>
>>> Onetoomany <> wrote:
>>>
>>>> Win XP MCE (configured as part of a domain, using one of the
>>>> registry hacks) 2003 server
>>>>
>>>> When I log onto the MCE box, the logon script does not run. I can
>>>> manually navigate to the folder "netlogon on *server*" and run
>>>> logon.vbs, and my network drives are then mapped. However, this
>>>> does not run automatically; I believe that I've configured the
>>>> global profiles etc... on the server correctly. I think this is a
>>>> client issue, not a server issue as the logon script runs on the
>>>> server perfectly but not on the client.
>>>> I've also tried cheating by putting a shortcut to the logon script
>>>> in the startup folder, but it still does not run. However, I can
>>>> run the logon script by later navigating to the Startup folder and
>>>> clicking on logon.vbs
>>>> I've posted this to the MCE group, but we hit a brick wall there.
>>>> I've
>>>> tried to remove myself from the domain, rename the user as .OLD,
>>>> and rejoin the doman. No joy.
>>>> Any ideas?
>>>>
>>>> R
>>>>
>>> As you're no doubt aware you're using an unsupported config (which
>>> isn't to say it can't work, mind you), you might mention what
>>> happens on WinXP Pro or 2k or Vista Business machines when they log
>>> in. Also, mention more info about the login script (assigned via GPO?)
>>> and what your event log says on the client.




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dumping logon name and logon script values to a text file - blank logon script field Phil McNeill Scripting 2 08-14-2008 04:13 PM
domain logon script does not run Onetoomany Windows Media Center 8 02-06-2008 10:57 PM
Problem:logon script does not run Sasi Active Directory 3 09-11-2006 05:38 PM
Logon script does not run randomly Pierrot Robert Windows Server 5 10-19-2005 12:35 PM
At logon, the server authenticating the logon does not locate an assigned logon script John Leonard - Sage Server Setup 0 12-27-2004 01:04 PM