Page 1 of 1 1
Topic Options
#197753 - 10/02/12 02:22 PM Mapping on w7
MvdP Offline
Fresh Scripter

Registered: 08/05/09
Posts: 6
Kixtart 4.61 running and script (mapping and add printers)is working on w xp machines.
Today i'v got new W7 laptop and script is not working.!

How can i solve this.?


;Drive mappings
Use S: "\\ZFS\Software"

;Printer mappings
Addprinterconnection ("\\ZFS\Plotter")

Top
#197754 - 10/02/12 03:11 PM Re: Mapping on w7 [Re: MvdP]
Allen Moderator Offline
KiX Supporter
*****

Registered: 03/04/19
Posts: 4261
Loc: USA
Search the board for Windows 7 and/or provide more info.

Also see http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Main=26424&Number=195765

FYI... mapping works under Win 7 fine.

Top
#197755 - 10/02/12 03:14 PM Re: Mapping on w7 [Re: Allen]
Glenn Barnas Moderator Offline
KiX Supporter
*****

Registered: 03/01/28
Posts: 4211
Loc: New Jersey
Agreed - our environment is a mix of XP, Vista, and Windows 7 workstations and we have no problem with Kix-based login scripts on any of the platforms.

There are known issues with Windows 2000 AD, as have been discussed on the board.

Glenn
_________________________

Actually I am a Rocket Scientist! \:D

Top
#197756 - 10/02/12 03:21 PM Re: Mapping on w7 [Re: Glenn Barnas]
MvdP Offline
Fresh Scripter

Registered: 08/05/09
Posts: 6
What more info do you need.?
Top
#197757 - 10/02/12 03:27 PM Re: Mapping on w7 [Re: MvdP]
MvdP Offline
Fresh Scripter

Registered: 08/05/09
Posts: 6
When adding this

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
EnableLinkedConnections =(dword)1

should solve my problem.

Top
#197762 - 10/02/12 06:22 PM Re: Mapping on w7 [Re: MvdP]
Glenn Barnas Moderator Offline
KiX Supporter
*****

Registered: 03/01/28
Posts: 4211
Loc: New Jersey
This is unrelated to Kix and an unsupported configuration.

Are you testing via RunAs and expecting to see the connections in other windows? The registry hack you reference will associate multiple security tokens together, so that drives mapped with one token will be visible to sessions with a different token (such as your primary login ID and a RunAs session).

Glenn
_________________________

Actually I am a Rocket Scientist! \:D

Top
#197763 - 10/02/12 07:10 PM Re: Mapping on w7 [Re: Glenn Barnas]
Allen Moderator Offline
KiX Supporter
*****

Registered: 03/04/19
Posts: 4261
Loc: USA
Glenn, This is the same fix that I posted in the reference thread above. If you are using a GPO script and the UAC, you don't have much choice other than to use this.
Top
#197764 - 10/02/12 07:37 PM Re: Mapping on w7 [Re: Allen]
Glenn Barnas Moderator Offline
KiX Supporter
*****

Registered: 03/01/28
Posts: 4211
Loc: New Jersey
I hear you... but - GPOs run the script in a different token space, and the only way to get mapped drives on a MS Windows 7 or VISTA platform with UAC is to employ a hack that Microsoft won't support? (We reviewed this with our TAM a few months back and learned it was an "unsupported configuration", which is why we still use a login script for mapping resources, and logon scripts for other, specialized tasks.)

I would think that a more supportable fix would be to run standard login scripts instead of GPO Logon scripts for drive mapping, which run in the current user context. Otherwise, if you have a problem, you either need to change to login scripts to get support, or lie to your MS tech.

It still isn't directly a Kix issue (although I'm not such a "purist" that I'd be against discussing it..) Maybe it's too many years in enterprise environments, but this kind of thing makes me cringe. ;\)

Glenn
_________________________

Actually I am a Rocket Scientist! \:D

Top
#197766 - 10/02/12 08:50 PM Re: Mapping on w7 [Re: Glenn Barnas]
Allen Moderator Offline
KiX Supporter
*****

Registered: 03/04/19
Posts: 4261
Loc: USA
Not supported huh... wow. I'm pretty sure I found that reg setting on a MS website. I guess that is not surprising.

I wonder what they think about me disabling that damn UAC?

Top
#197767 - 10/02/12 10:06 PM Re: Mapping on w7 [Re: Allen]
Allen Moderator Offline
KiX Supporter
*****

Registered: 03/04/19
Posts: 4261
Loc: USA
Yup... you are right...
 Quote:
Important This workaround may make your system unsafe. Microsoft does not support this workaround. Use this workaround at your own risk.

After you turn on User Account Control in Windows Vista, programs may be unable to access some network locations
http://support.microsoft.com/kb/937624

Top
#197768 - 10/02/13 12:08 AM Re: Mapping on w7 [Re: Allen]
Glenn Barnas Moderator Offline
KiX Supporter
*****

Registered: 03/01/28
Posts: 4211
Loc: New Jersey
Well, of course it is potentially unsafe - it links two different account tokens together! Now you can't tell which account has control of a resource.

This setting certainly would not be acceptable in an environment subject to SOX, HIPAA, PCI, or similar security requirements.

Glenn
_________________________

Actually I am a Rocket Scientist! \:D

Top
#197775 - 10/02/15 08:53 AM Re: Mapping on w7 [Re: Glenn Barnas]
MvdP Offline
Fresh Scripter

Registered: 08/05/09
Posts: 6
Ok,
I added

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System EnableLinkedConnections =(dword)1

and i got mapped drives,but none off my printers where added.
How can this be solved.?

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Chris S., Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (green78) and 144 anonymous users online.
Newest Members
Keris2112, Jorromans, qrstuv140696, Bloodboy, NIJAKIX
17451 Registered Users

Generated in 0.096 seconds in which 0.042 seconds were spent on a total of 13 queries. Zlib compression enabled.

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