Page 1 of 1 1
Topic Options
#164056 - 2006-07-05 12:05 PM Vista not mapping network drives
kjhoskin Offline
Fresh Scripter

Registered: 2001-01-29
Posts: 47
Loc: Plymouth, Devon, UK
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?
Top
#164057 - 2006-07-05 12:33 PM Re: Vista not mapping network drives
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
What's the error status when the mappings fail?
Top
#164058 - 2006-07-05 01:55 PM Re: Vista not mapping network drives
kjhoskin Offline
Fresh Scripter

Registered: 2001-01-29
Posts: 47
Loc: Plymouth, Devon, UK
I've not run with debug turned on, but there isn't an error in the script window everything runs fine, printer mappings etc
Top
#164059 - 2006-07-05 02:04 PM Re: Vista not mapping network drives
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
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

_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#164060 - 2006-09-21 09:47 PM Re: Vista not mapping network drives
Poltergeist Offline
Lurker

Registered: 2006-09-14
Posts: 4
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?
Top
#164061 - 2006-09-21 09:50 PM Re: Vista not mapping network drives
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
check the error values
Top
#164062 - 2006-09-22 02:12 PM Re: Vista not mapping network drives
Björn Offline
Korg Regular
*****

Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
sounds like something isn't loaded when script is executing - Jooel just gave the biggest hint towards a solution.
Top
#164063 - 2006-11-03 04:26 PM Re: Vista not mapping network drives
Poltergeist Offline
Lurker

Registered: 2006-09-14
Posts: 4
The problem is solved with Vista RC2. Without adapting the kix script, it now works without a problem.
Top
#170885 - 2006-12-01 11:32 AM Re: Vista not mapping network drives [Re: Poltergeist]
Poltergeist Offline
Lurker

Registered: 2006-09-14
Posts: 4
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.


Edited by Poltergeist (2006-12-01 11:38 AM)

Top
#170968 - 2006-12-04 11:01 AM Re: Vista not mapping network drives [Re: Poltergeist]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
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...
_________________________
!

download KiXnet

Top
#171072 - 2006-12-05 09:55 PM Re: Vista not mapping network drives [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
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.
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 366 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.094 seconds in which 0.025 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org