kjhoskin
(Fresh Scripter)
2006-07-05 12:05 PM
Vista not mapping network drives

I'm testing out Vista Beta 2, and our login script runs fine, BUT our network drives don't get mapped, works fine on XP and win2000. Any ideas?

Richard H.Administrator
(KiX Supporter)
2006-07-05 12:33 PM
Re: Vista not mapping network drives

What's the error status when the mappings fail?

kjhoskin
(Fresh Scripter)
2006-07-05 01:55 PM
Re: Vista not mapping network drives

I've not run with debug turned on, but there isn't an error in the script window everything runs fine, printer mappings etc

Mart
(KiX Supporter)
2006-07-05 02:04 PM
Re: Vista not mapping network drives

What does the console windows show when you put this piece of code just after the line that should map the drive?

Code:

?@error
?@serror
sleep 3



Poltergeist
(Lurker)
2006-09-21 09:47 PM
Re: Vista not mapping network drives

Kicking this topic: I have the exact same problem. When I log on, everything works fine, except the mapping of the drives. However, If I start the logon script manually, the drives do get mapped, without a hitch. This makes testing a bit troublesome, to say the least... Any ideas what could be causing this behaviour?

LonkeroAdministrator
(KiX Master Guru)
2006-09-21 09:50 PM
Re: Vista not mapping network drives

check the error values

Björn
(Korg Regular)
2006-09-22 02:12 PM
Re: Vista not mapping network drives

sounds like something isn't loaded when script is executing - Jooel just gave the biggest hint towards a solution.

Poltergeist
(Lurker)
2006-11-03 04:26 PM
Re: Vista not mapping network drives

The problem is solved with Vista RC2. Without adapting the kix script, it now works without a problem.

Poltergeist
(Lurker)
2006-12-01 11:32 AM
Re: Vista not mapping network drives

And the problem is back with the RTM. It has to do with the UAC from Vista. If it's turned off, the script runs without a problem, even at logon.

There are no error values. The values are exactly the same with of without UAC turned on. If the script is run manually (with UAC turned on), it works. It it's run from logon, it does not work.


LonkeroAdministrator
(KiX Master Guru)
2006-12-04 11:01 AM
Re: Vista not mapping network drives

me running RTM now too and can confirm, the maps don't show in the explorer.
doing net use does show them though.

so, the issue is the user rights I guessed earlier.
need to find a fix to this...


LonkeroAdministrator
(KiX Master Guru)
2006-12-05 09:55 PM
Re: Vista not mapping network drives

k, it's a known issue and MS tells the workaround in:
http://technet2.microsoft.com/WindowsVis...3.mspx?mfr=true

in short, create a scheduler task that will run after logon process and do the drive mapping.

stupid, but you could turn off the UAC.
I think that's what I will do.