Login | |
|
 |
RE: Browse hidden share on remote PC - 10/4/2006 12:58:19 AM
|
|
 |
|
| |
gdewrance
Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
|
to map a network drive with alternate credentials set WshShell = CREATEOBJECT("WScript.Shell") WshShell.Run("net use z: \\server\share /user:domain\username password") for information on how to Open the explorer window to the drive take a look here http://www.microsoft.com/technet/scriptcenter/resources/qanda/mar06/hey0317.mspx
< Message edited by gdewrance -- 10/4/2006 1:02:07 AM >
|
|
| |
|
|
|
 |
RE: Browse hidden share on remote PC - 10/4/2006 4:42:15 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
quote:
SIDE NOTE: I am REALLY getting sick of this dodgy alternate credentials stuff in VBscript. FYI, VBScript is there to administer the PC, therefore Admin priviliges is preferred. You can't say: Sick of getting a ticket for not having a drivers license, but still want to drive
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Browse hidden share on remote PC - 10/4/2006 7:10:54 AM
|
|
 |
|
| |
mcds99
Posts: 433
Score: 4
Joined: 2/28/2006
Status: online
|
What many companies do is create a Global group, put it in the Local Administrators group of each PC. Add a person to that group, have that person logoff/on. This Global group needs to be watched carefully.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: Browse hidden share on remote PC - 10/4/2006 5:16:22 PM
|
|
 |
|
| |
gdewrance
Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
|
Nice ginolard. How can we add Username & Password to that
|
|
| |
|
|
|
 |
RE: Browse hidden share on remote PC - 10/4/2006 11:06:42 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
If MS didn't have the security set the way they did with Vbscript, then we would see many more viri like the ILoveYou virus.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|