Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


map network drive without logon to domain

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,53125
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> map network drive without logon to domain
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 map network drive without logon to domain - 10/29/2007 5:39:12 PM   
  174soft

 

Posts: 4
Score: 0
Joined: 11/1/2006
Status: offline
How to map a network drive without logon the domain
 
 
Post #: 1
 
 RE: map network drive without logon to domain - 10/29/2007 8:53:00 PM   
  DiGiTAL.SkReAM


Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
Set oNet = WScript.CreateObject("WScript.Network")
oNet.MapNetworkDrive strDriveLetter, strServerShare, bUpdateProfile, strUserName, strPassword

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to 174soft)
 
 
Post #: 2
 
 RE: map network drive without logon to domain - 11/1/2007 7:37:19 PM   
  magnanimousdude

 

Posts: 11
Score: 0
Joined: 11/1/2007
Status: offline
Hey is there a way to Map a Network in Remote machine say for Eg(Computer2)

I need to run the script from (Computer1) to Map a drive in (Computer2)
still to be clear

say i need to  Map 1 drive in compter2 like

G drive to be \\(computer3)\share

when i run the script from Computer1

BR, Balaji

(in reply to 174soft)
 
 
Post #: 3
 
 RE: map network drive without logon to domain - 11/1/2007 8:27:54 PM   
  NssB

 

Posts: 30
Score: 0
Joined: 6/25/2006
Status: offline
Hi,

You could try out this HTA I wrote a while back.
If you have any questions, please do ask :)

http://www.visualbasicscript.com/fb.aspx?m=35762



Regards
NssB


Edit: OK, I've just re-read your post and think I see what you are trying to do...

3 Comps...... A,B and C......

You'd like to use A to create a share mapping to C from B?

< Message edited by NssB -- 11/1/2007 8:35:36 PM >


_____________________________

Its all about the code!

(in reply to magnanimousdude)
 
 
Post #: 4
 
 RE: map network drive without logon to domain - 11/5/2007 5:49:44 PM   
  magnanimousdude

 

Posts: 11
Score: 0
Joined: 11/1/2007
Status: offline
I understand! but i need it in vbscript Only i dont want HTA, asi know nothing abt it! LOL

(in reply to NssB)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> map network drive without logon to domain Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts