Login Script Problems

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have Vista RC1 jopined to a domain. I can login with my domain id, but my
drive maps don't show up. The drives are mapped through a vbscript deployed
via gpo. I can see the scripts in my recent files, and can run them manually
with success. I have checked and/or disabled every security setting I can
think of but still can't get this to work at login.

Anybody else had this problem? Any thoughts on how to fix?

Thanks.
 
Sorry about the delay. Here's an explanation of what you are seeing and the
official recomendation.

Explanation for what you are seeing and workaround :

By default Group policy service executes scripts in an elevated mode. There
are some scripts like 'Map network drives' that would need to be run in UAP
mode. In order to launch such scripts in a UAP context from an elevated
process, you can leverage the Task scheduler API. Here is a sample script:
Launchapp.wsf

Usage: cscript launchapp.wsf <AppPath>


If the user wants to run a GP logon script Script-UAP.wsf and requires it
to run in UAP context because it is mapping drives for the user then, create
another script Launch-Script-UAP.wsf which will just use the sample script
above to launch Script-UAP.wsf in UAP mode. Deploy this script as GP logon
script.

I'm attaching the LaunchApp sample script too.

This change will also be communicated via KB, Vista GP document or
otherwise.

Let me know if you still have issues.

Thanks,
Prashanth
Vista Remote File Systems.
 
Thanks for the reply.

Just to make sure I understand, I will know need to write two scripts, and
run them through the scheduler in order to do what a single script ran from a
gpo is supposed to do. I also think this is the whole point of having an AD
Domain, centralized, and simplification of, management.

This sounds like a bad flaw, not to mention security vulnerability. If a
hacker can get a bad script ran through the scheduler, you are hosed.

There has to be a better way of getting a domain member to get mapped
drives. Not to mention, is Vista going to break all of my gpos? If so, MS
just gave open source a huge advantage.

All I want is my current gpos to run properly in Vista, not work around them.

Thanks for any help you can provide.
 
I have to agree with John on this issue. I've spent a lot of time perfect
and managing my GPO's and associated scripts so that my users receive the
proper drive and printer mappings. I would expect any NEW Microsoft
operating system, such as Vista, to adhere to the conventions in use and
defined on a Microsoft network operating system.

To think that deploying Vista would require me to re-engineer and re-script
all my GPO's is frustrating and would certainly be a HUGE strike in my
adoption of the new OS. After all, it's not like we're trying to pair Vista
with a non-Microsoft product! Vista should be able to take advantage of the
GPO's and scripts just as transparently and painlessly as XP.

Just for clarification: I am running Vista SC1 on a network with several
Windows 2003 servers and roughly a dozen or so GPO's.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top