Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > Group policy doesn't work with Vista?

Reply
Thread Tools Display Modes

Group policy doesn't work with Vista?

 
 
HS
Guest
Posts: n/a

 
      03-14-2007
I have setup a group policy on our DC server that runs a VB script at logon
to map some network drives for client workstaions. it works great with our
XP workstations but not with Vista Workstations. i've coded the script to
notify user with a dialog prompt indicating drives are mapped. when i log in
vista, i do get the dialog prompt saying that the drives are mapped
succesfully, but none of the drive shows. what's interesting is that when i
run the actual script from the local pc after logged in, it maps all the
drives. so i know there is nothing wrong with the script.
does anybody have any idea whats going on?
 
Reply With Quote
 
 
 
 
Sam Yost
Guest
Posts: n/a

 
      03-14-2007
This is just a thought, but try enabling the group policy setting to "Always
wait for the network at computer startup and logon". It will increase the
logon time a little bit. Also, how does your VB script determine that the
drives were mapped successfully before displaying this message?

"HS" wrote:

> I have setup a group policy on our DC server that runs a VB script at logon
> to map some network drives for client workstaions. it works great with our
> XP workstations but not with Vista Workstations. i've coded the script to
> notify user with a dialog prompt indicating drives are mapped. when i log in
> vista, i do get the dialog prompt saying that the drives are mapped
> succesfully, but none of the drive shows. what's interesting is that when i
> run the actual script from the local pc after logged in, it maps all the
> drives. so i know there is nothing wrong with the script.
> does anybody have any idea whats going on?

 
Reply With Quote
 
HS
Guest
Posts: n/a

 
      03-15-2007
thank you very much for the advise Sam. unfortunetly, it didn't work.
as for the script, i'm using an if else statement to check the drive letter
availability. if the drive letters are available, it will map the drives and
notify the user that all drives are mapped successfully. if drive letters
are taken, it will remove mapped drives and remap whats indicated in the
script, and notify user that drives are mapped. however, i did make sure in
the script that mapped drive letters are not conflicting with the local
drives.
any other suggestions? thanks.

"Sam Yost" wrote:

> This is just a thought, but try enabling the group policy setting to "Always
> wait for the network at computer startup and logon". It will increase the
> logon time a little bit. Also, how does your VB script determine that the
> drives were mapped successfully before displaying this message?
>
> "HS" wrote:
>
> > I have setup a group policy on our DC server that runs a VB script at logon
> > to map some network drives for client workstaions. it works great with our
> > XP workstations but not with Vista Workstations. i've coded the script to
> > notify user with a dialog prompt indicating drives are mapped. when i log in
> > vista, i do get the dialog prompt saying that the drives are mapped
> > succesfully, but none of the drive shows. what's interesting is that when i
> > run the actual script from the local pc after logged in, it maps all the
> > drives. so i know there is nothing wrong with the script.
> > does anybody have any idea whats going on?

 
Reply With Quote
 
Sam Yost
Guest
Posts: n/a

 
      03-15-2007
I did some searching and came across this link, not sure if it applies in
your case but still interesting reading.

http://technet2.microsoft.com/Window....mspx?mfr=true

Look in the section " Group Policy Scripts can fail due to User Account
Control"

I am beginning to think vista is more trouble than what it is worth.

"HS" wrote:

> thank you very much for the advise Sam. unfortunetly, it didn't work.
> as for the script, i'm using an if else statement to check the drive letter
> availability. if the drive letters are available, it will map the drives and
> notify the user that all drives are mapped successfully. if drive letters
> are taken, it will remove mapped drives and remap whats indicated in the
> script, and notify user that drives are mapped. however, i did make sure in
> the script that mapped drive letters are not conflicting with the local
> drives.
> any other suggestions? thanks.
>
> "Sam Yost" wrote:
>
> > This is just a thought, but try enabling the group policy setting to "Always
> > wait for the network at computer startup and logon". It will increase the
> > logon time a little bit. Also, how does your VB script determine that the
> > drives were mapped successfully before displaying this message?
> >
> > "HS" wrote:
> >
> > > I have setup a group policy on our DC server that runs a VB script at logon
> > > to map some network drives for client workstaions. it works great with our
> > > XP workstations but not with Vista Workstations. i've coded the script to
> > > notify user with a dialog prompt indicating drives are mapped. when i log in
> > > vista, i do get the dialog prompt saying that the drives are mapped
> > > succesfully, but none of the drive shows. what's interesting is that when i
> > > run the actual script from the local pc after logged in, it maps all the
> > > drives. so i know there is nothing wrong with the script.
> > > does anybody have any idea whats going on?

 
Reply With Quote
 
HS
Guest
Posts: n/a

 
      03-15-2007
as you mentioned, this is really more trouble than what it's worth. MS is
great at messing things up.
i did find that disabling UAC worked, eventhough it's not prefered by MS.

"Sam Yost" wrote:

> I did some searching and came across this link, not sure if it applies in
> your case but still interesting reading.
>
> http://technet2.microsoft.com/Window....mspx?mfr=true
>
> Look in the section " Group Policy Scripts can fail due to User Account
> Control"
>
> I am beginning to think vista is more trouble than what it is worth.
>
> "HS" wrote:
>
> > thank you very much for the advise Sam. unfortunetly, it didn't work.
> > as for the script, i'm using an if else statement to check the drive letter
> > availability. if the drive letters are available, it will map the drives and
> > notify the user that all drives are mapped successfully. if drive letters
> > are taken, it will remove mapped drives and remap whats indicated in the
> > script, and notify user that drives are mapped. however, i did make sure in
> > the script that mapped drive letters are not conflicting with the local
> > drives.
> > any other suggestions? thanks.
> >
> > "Sam Yost" wrote:
> >
> > > This is just a thought, but try enabling the group policy setting to "Always
> > > wait for the network at computer startup and logon". It will increase the
> > > logon time a little bit. Also, how does your VB script determine that the
> > > drives were mapped successfully before displaying this message?
> > >
> > > "HS" wrote:
> > >
> > > > I have setup a group policy on our DC server that runs a VB script at logon
> > > > to map some network drives for client workstaions. it works great with our
> > > > XP workstations but not with Vista Workstations. i've coded the script to
> > > > notify user with a dialog prompt indicating drives are mapped. when i log in
> > > > vista, i do get the dialog prompt saying that the drives are mapped
> > > > succesfully, but none of the drive shows. what's interesting is that when i
> > > > run the actual script from the local pc after logged in, it maps all the
> > > > drives. so i know there is nothing wrong with the script.
> > > > does anybody have any idea whats going on?

 
Reply With Quote
 
RonPaskowski
Guest
Posts: n/a

 
      04-10-2007
There are a few ways to try and resolve some of these issues that you having.

I would create a .bat or .vbs script to remove all mapped drives at logoff
--> through GPO's of course

Also using the recommendation of Sam Yost, ensure that you set the a GPO to
ensure network connectivity prior to logon.

Third, ensure that you have your scripts to run Synchronous (one by one).
Issues can occur if mutliple scripts are running ASynchronous.. especially if
one depends on the setting of another.

Just my 2.5 cents..

"HS" wrote:

> I have setup a group policy on our DC server that runs a VB script at logon
> to map some network drives for client workstaions. it works great with our
> XP workstations but not with Vista Workstations. i've coded the script to
> notify user with a dialog prompt indicating drives are mapped. when i log in
> vista, i do get the dialog prompt saying that the drives are mapped
> succesfully, but none of the drive shows. what's interesting is that when i
> run the actual script from the local pc after logged in, it maps all the
> drives. so i know there is nothing wrong with the script.
> does anybody have any idea whats going on?

 
Reply With Quote
 
Gautam Anand
Guest
Posts: n/a

 
      04-12-2007
See this -
http://technet2.microsoft.com/Window....mspx?mfr=true
<snip> 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. </snip>

And further down below it shows how to fix it.

Now dont go about just disabling UAC - thats now the answer. The answer is
to alter the scripts.

- Gautam






"RonPaskowski" <> wrote in message
news:A0C17EEE-C1EB-4E07-89A9-...
> There are a few ways to try and resolve some of these issues that you
> having.
>
> I would create a .bat or .vbs script to remove all mapped drives at logoff
> --> through GPO's of course
>
> Also using the recommendation of Sam Yost, ensure that you set the a GPO
> to
> ensure network connectivity prior to logon.
>
> Third, ensure that you have your scripts to run Synchronous (one by one).
> Issues can occur if mutliple scripts are running ASynchronous.. especially
> if
> one depends on the setting of another.
>
> Just my 2.5 cents..
>
> "HS" wrote:
>
>> I have setup a group policy on our DC server that runs a VB script at
>> logon
>> to map some network drives for client workstaions. it works great with
>> our
>> XP workstations but not with Vista Workstations. i've coded the script
>> to
>> notify user with a dialog prompt indicating drives are mapped. when i
>> log in
>> vista, i do get the dialog prompt saying that the drives are mapped
>> succesfully, but none of the drive shows. what's interesting is that
>> when i
>> run the actual script from the local pc after logged in, it maps all the
>> drives. so i know there is nothing wrong with the script.
>> does anybody have any idea whats going on?


 
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
Vista Local Group Policy RonPaskowski Windows Vista Administration 3 12-04-2008 03:49 PM
Issues with Vista and group policy mikemcse Windows Vista Networking 0 04-10-2007 04:03 PM
Group Policy + Vista Windows Vista General Discussion 2 12-20-2006 08:16 PM
Vista Desktop and Group Policy A Lake Windows Vista Networking 0 06-14-2006 01:37 PM
Group policy for Vista David Sherman Windows Vista General Discussion 4 03-21-2006 02:42 PM



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