A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Logon script problem



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 13th 07, 09:07 PM posted to microsoft.public.windows.vista.networking_sharing
Jonny Bergdahl
external usenet poster
 
Posts: 4
Default Logon script problem

I have a vbscript logon file assigned in group policy. It works as expected
under Windows XP, but none of my Vista machines semems to run the file, as
none of the mapped server shares shows up. I cant find anything related in
the event log.

Please advice as how to debug this problem.

Regards;
/jb

  #2 (permalink)  
Old November 14th 07, 01:26 AM posted to microsoft.public.windows.vista.networking_sharing
Jeffrey Randow
external usenet poster
 
Posts: 256
Default Logon script problem

You need to use a Vista Group Policy...
See
http://technet2.microsoft.com/Window....mspx?mfr=true
for more information...
---
Jeffrey Randow

Windows Networking MVP 2001-2006
http://www.networkblog.net

On Tue, 13 Nov 2007 23:07:59 +0100, "Jonny Bergdahl"
wrote:

I have a vbscript logon file assigned in group policy. It works as expected
under Windows XP, but none of my Vista machines semems to run the file, as
none of the mapped server shares shows up. I cant find anything related in
the event log.

Please advice as how to debug this problem.

Regards;
/jb

  #3 (permalink)  
Old November 14th 07, 08:17 PM posted to microsoft.public.windows.vista.networking_sharing
Jonny Bergdahl
external usenet poster
 
Posts: 4
Default Logon script problem

You need to use a Vista Group Policy...
See
http://technet2.microsoft.com/Window....mspx?mfr=true
for more information...


I didn't find anything in that document that says I need to migrate my existing Group Policy settings to support logon scripts för Vista. However, I did find the following that applies to my setup:

----
UAC may prevent Group Policy logon scripts from appearing to work properly. For example, a domain environment contains a Group Policy object that includes a logon script to map network drives. A nonadministrative user logs on to the domain from a Windows Vista computer. After Windows Vista loads the desktop, the nonadministrative user starts Windows Explorer. The user sees their mapped drives. Under the same environment, an administrative user logs on to the domain from a Windows Vista computer. After Windows Vista loads the desktop, the administrative user starts Windows Explorer. The user does not see their mapped drives.
When the administrative user logs on, Windows processes the logon scripts using the elevated token. The script actually works and maps the drive. However, Windows blocks the view of the mapped network drives because the desktop uses the limited token while the drives were mapped using the elevated token.
-----

In short - the script is run, my network drives are actually mapped, but UAC prohibits Windows from showing them in Explorer. It also outlines a workaround using launchapp.wcf to run the script under the limited token.

Regards;
/jb





  #4 (permalink)  
Old November 15th 07, 01:07 AM posted to microsoft.public.windows.vista.networking_sharing
Jeffrey Randow
external usenet poster
 
Posts: 256
Default Logon script problem

I've only had admx files work in my environment...

---
Jeffrey Randow

Windows Networking MVP 2001-2006
http://www.networkblog.net


On Wed, 14 Nov 2007 22:17:47 +0100, "Jonny Bergdahl"
wrote:

You need to use a Vista Group Policy...
See
http://technet2.microsoft.com/Window....mspx?mfr=true
for more information...


I didn't find anything in that document that says I need to migrate my existing Group Policy settings to support logon scripts för Vista. However, I did find the following that applies to my setup:

----
UAC may prevent Group Policy logon scripts from appearing to work properly. For example, a domain environment contains a Group Policy object that includes a logon script to map network drives. A nonadministrative user logs on to the domain from a Windows Vista computer. After Windows Vista loads the desktop, the nonadministrative user starts Windows Explorer. The user sees their mapped drives. Under the same environment, an administrative user logs on to the domain from a Windows Vista computer. After Windows Vista loads the desktop, the administrative user starts Windows Explorer. The user does not see their mapped drives.
When the administrative user logs on, Windows processes the logon scripts using the elevated token. The script actually works and maps the drive. However, Windows blocks the view of the mapped network drives because the desktop uses the limited token while the drives were mapped using the elevated token.
-----

In short - the script is run, my network drives are actually mapped, but UAC prohibits Windows from showing them in Explorer. It also outlines a workaround using launchapp.wcf to run the script under the limited token.

Regards;
/jb



  #5 (permalink)  
Old May 6th 09, 02:59 PM posted to microsoft.public.windows.vista.networking_sharing
mrdaytrade
external usenet poster
 
Posts: 2
Default Logon script problem


Here is a real simple fix for Vista and Windows 7. Just add this
registry item. Copy and past the lines below into a text file and name
it networkdrivefix.reg or whatever you want. Then double click the file
to add it to your registry. You can keep the UAC running too.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001


--
mrdaytrade
 




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

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



All times are GMT. The time now is 10:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.