Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Strange mapping visibility issue with Vista x64 or x86... (loginscript issue)

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 16-01-2008
markm75
 
Posts: n/a
Strange mapping visibility issue with Vista x64 or x86... (loginscript issue)

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

Reply With Quote
  #2  
Old 17-01-2008
markm75
 
Posts: n/a
Re: Strange mapping visibility issue with Vista x64 or x86... (loginscript issue)

On Jan 16, 11:49*am, markm75 <markm...@msn.com> 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...
Reply With Quote
  #3  
Old 17-01-2008
markm75
 
Posts: n/a
Re: Strange mapping visibility issue with Vista x64 or x86... (loginscript issue)

On Jan 16, 1:38*pm, markm75 <markm...@msn.com> wrote:
> On Jan 16, 11:49*am, markm75 <markm...@msn.com> 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
Reply With Quote
  #4  
Old 17-01-2008
markm75
 
Posts: n/a
Re: Strange mapping visibility issue with Vista x64 or x86... (loginscript issue)

On Jan 16, 2:50*pm, markm75 <markm...@msn.com> wrote:
> On Jan 16, 1:38*pm, markm75 <markm...@msn.com> wrote:
>
>
>
>
>
> > On Jan 16, 11:49*am, markm75 <markm...@msn.com> 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/tec.../02/Templates/
Reply With Quote
  #5  
Old 17-01-2008
markm75
 
Posts: n/a
Re: Strange mapping visibility issue with Vista x64 or x86... (loginscript issue)

On Jan 16, 3:33*pm, markm75 <markm...@msn.com> wrote:
> On Jan 16, 2:50*pm, markm75 <markm...@msn.com> wrote:
>
>
>
>
>
> > On Jan 16, 1:38*pm, markm75 <markm...@msn.com> wrote:

>
> > > On Jan 16, 11:49*am, markm75 <markm...@msn.com> 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/tec...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?
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Strange mapping visibility issue with Vista x64 or x86... (loginscript issue)"
Thread Thread Starter Forum Replies Last Post
Strange volume issue on iphone 4 Poker-X Portable Devices 5 14-10-2010 11:17 PM
Strange Replication Issue travelfreak Active Directory 4 26-11-2009 07:26 PM
Strange XP Firewall issue with GPO colin.laurie@googlemail.com Active Directory 7 04-03-2009 10:59 AM
Very Strange Vista Networking issue zappaphan Networking & Security 4 02-12-2008 11:28 AM
very strange phenomena(pc shutdown issue) UNIORYOU MediaCenter 16 02-11-2007 07:04 AM


All times are GMT +5.5. The time now is 07:55 AM.