Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > vbs login script not executed on Win2k8 server

Reply
Thread Tools Display Modes

vbs login script not executed on Win2k8 server

 
 
Bonno Bloksma
Guest
Posts: n/a

 
      08-07-2009
Hi,

I have several Windows XP Pro, Windows 2003 server (32-bit and 64-bit) machines.
All execute the vbs login scripts without any problem.
The script is in SYSVOL\Domain\Policies\{number}\User\Scripts\Logon as name.vbs
In the policy it is activated as a user logoin script

On my Windows 2008 x64 servers this script does NOT execute. The server is a member server of the
domain, the user is a member of the domain.
The homedirectory does come up but that is in the profile, not via a script.

Why does my vbs login script not work on Windows 2008 x64 servers? I've tested it on both servers
now.
When I manualy start the script all mappings come up perfectly.

Bonno Bloksma


 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a

 
      08-07-2009


"Bonno Bloksma" <> wrote in message
news:4a7be78c$0$198$...
> Hi,
>
> I have several Windows XP Pro, Windows 2003 server (32-bit and 64-bit)
> machines.
> All execute the vbs login scripts without any problem.
> The script is in SYSVOL\Domain\Policies\{number}\User\Scripts\Logon as
> name.vbs
> In the policy it is activated as a user logoin script
>
> On my Windows 2008 x64 servers this script does NOT execute. The server is
> a member server of the domain, the user is a member of the domain.
> The homedirectory does come up but that is in the profile, not via a
> script.
>
> Why does my vbs login script not work on Windows 2008 x64 servers? I've
> tested it on both servers now.
> When I manualy start the script all mappings come up perfectly.
>
> Bonno Bloksma
>


Try putting this *batch* file into the same location as your script file:
@echo off
echo %date% %time% %UserName% >> c:\test.txt

If you get the expected result in c:\test.txt then you have a problem with
your script - let's have a look at it!

If you don't get anything in c:\test.txt then you placed your file into the
wrong location or you did not reference it correctly in your user profile.


 
Reply With Quote
 
\Rems
Guest
Posts: n/a

 
      08-08-2009



"Pegasus [MVP]" wrote:

>
> "Bonno Bloksma" <> wrote in message
> news:4a7be78c$0$198$...
> > Hi,
> >
> > I have several Windows XP Pro, Windows 2003 server (32-bit and 64-bit)
> > machines.
> > All execute the vbs login scripts without any problem.
> > The script is in SYSVOL\Domain\Policies\{number}\User\Scripts\Logon as
> > name.vbs
> > In the policy it is activated as a user logoin script
> >
> > On my Windows 2008 x64 servers this script does NOT execute. The server is
> > a member server of the domain, the user is a member of the domain.
> > The homedirectory does come up but that is in the profile, not via a
> > script.
> >
> > Why does my vbs login script not work on Windows 2008 x64 servers? I've
> > tested it on both servers now.
> > When I manualy start the script all mappings come up perfectly.
> >
> > Bonno Bloksma
> >

>
> Try putting this *batch* file into the same location as your script file:
> @echo off
> echo %date% %time% %UserName% >> c:\test.txt
>
> If you get the expected result in c:\test.txt then you have a problem with
> your script - let's have a look at it!
>
> If you don't get anything in c:\test.txt then you placed your file into the
> wrong location or you did not reference it correctly in your user profile.
>


A server can allow non-admins to logon. Non-admin users are by default not
allowed to create or modify files in the sytem root, therefore I would
suggest the test batch creates a folder first or use the user's tmp-folder to
write the test textfile to.

A reason why the logon script does not run could have something to do with
zone security on the member server. Try adding your domain.local to the
"Local Intranet zone" (i.e. via Internet Explorer) on the member server.

\Rems
 
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
Can't login after fresh Win2K8 SBS Installation Allyn Active Directory 1 01-10-2009 03:42 PM
which logon script executed first? tree leafs Active Directory 3 12-18-2007 07:22 AM
Startup script is not executed: Access denied Massimo Active Directory 3 11-30-2007 05:23 PM
Startup script is not executed: Access denied Massimo Active Directory 2 11-28-2007 09:17 AM
Login script is NOT executed, even if set on group policies. Para Elspam Windows Server 4 12-27-2004 11:25 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59