Re: Strange mapping visibility issue with Vista x64 or x86... (login script issue)



On Jan 16, 3:33 pm, markm75 <markm...@xxxxxxx> wrote:
On Jan 16, 2:50 pm, markm75 <markm...@xxxxxxx> wrote:





On Jan 16, 1:38 pm, markm75 <markm...@xxxxxxx> wrote:

On Jan 16, 11:49 am, markm75 <markm...@xxxxxxx> wrote:

In vista.. if you goto start.. run.. notepad.. then do a file open.. i
can goto computer and see all the mapped drive letters for our 2003
domain (which are mapped at login via a script, this script is forced
to vista machines via running as limitted user technique via task
scheduler commands)..

If i open other 3rd party apps.. like installshield 12.. then try the
open command.. i only see drives which are mapped that are
persistent.. ie:  these other mappings are mapped as not persistent at
login..

I'm not sure why this is the case...

I'm using this in a VBscript:

On Error Resume Next
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "O:" , "\\server01\apps"

(if you put , true after one of these lines it is persistent).

The old way.. i had a .cmd file with this:
NET USE O: \\server01\apps /p:n

I'm 99% sure the old way worked fine, but i'm not sure why a vbs file
method would break the ability to see the mapped network drives for
3rd party apps?

Any thoughts?

Thanks

I should add that even if i change from a vbs to a cmd with net use
commands I still end up with the same thing...- Hide quoted text -

- Show quoted text -

Actually.. ive found the solution.. partially.. it appears the
EnableLinkedConnections  registry setting needs changed..

http://support.microsoft.com/kb/937624

Would anyone know how i can implement this in a GPO (admx)?

Thanks- Hide quoted text -

- Show quoted text -

Nevermind..

I also found a nice tool for creating and converting admx files from
this page (near the middle):http://www.microsoft.com/technet/technetmag/issues/2007/02/Templates/- Hide quoted text -

- Show quoted text -

I've run into this issue now.. i've made sure the admx file is local
and in sysvol (though only locally having it seems to make it visible
in the editor)..

But when i reboot.. my new policy i created and linked to the our
workstations OU.. says it wasnt applied.. empty.. yet if i look at the
settings in the manager i see this custom setting showing up..

Any ideas on this one?
.



Relevant Pages

  • Re: Missing mapped drives in my computer / explorer
    ... explorer when they first login to a new computer. ... they will have most the drives. ... The script can either be in the policy or in the users logon script and ...
    (microsoft.public.windowsxp.network_web)
  • Missing mapped drives in my computer / explorer
    ... explorer when they first login to a new computer (and build a profile). ... they will have most the drives. ... The script can either be in the policy or in the users logon script and ...
    (microsoft.public.windowsxp.network_web)
  • Re: Login Script question...
    ... >>> I was curious if there is a way that I can some how create a login ... >>> script that will map drives acording to the local server? ... >>> Is there a variable that we could use that would get the local server ...
    (microsoft.public.win2000.group_policy)
  • Re: execute domain network drives
    ... post-connection script to map drives to users, you can also run a disconnect ... script to unmap the drive just before they disconnect. ... >> Making a VPN connection is not a login operation. ...
    (microsoft.public.win2000.ras_routing)
  • Re: script to unmap and remap network drives
    ... echo net use %ShareName% ... time to put your drive mappings into a centralised netlogon file. ... As far as the script goes, I found something online describing the EXACT ... root problem only affects drives mapped BEFORE it was implemented (more info ...
    (microsoft.public.windows.server.scripting)