+ Post New Thread
Results 1 to 8 of 8
Office Software Thread, Hidden A mounted network drive in Technical; Hi Am tring to a mount a network driver with the following in a bat file net use x: \Computer_name\shared_folder_name ...
  1. #1

    Join Date
    Aug 2013
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Hidden A mounted network drive

    Hi

    Am tring to a mount a network driver with the following in a bat file

    net use x: \\Computer_name\shared_folder_name
    The problem is when I run the shortcut of the bat file, the a mounted network drive is not shown... So is there any way to show the hidden a mounted network drive.


    Regards

  2. #2

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,356
    Thank Post
    679
    Thanked 2,276 Times in 1,051 Posts
    Blog Entries
    23
    Rep Power
    674
    Moving to windows forum.
    And do you have permission to:

    a. Run batch files and...
    b. Access the share?

    If the share is hidden and you are the network admin then it shouldn't be a problem for you to access it once you have sorted these issues out. You do have the authority to do this don't you?

  3. #3

    Join Date
    Aug 2013
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Am trying to run the short cut of the bat file with admin properties. I don't know may the problem relate to the shortcut?

  4. #4
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,159
    Thank Post
    319
    Thanked 311 Times in 217 Posts
    Rep Power
    124
    If the drive is hidden i dont think you can do it, i tried to hide the sims drive which i couldnt get to work as the workstation didnt know s drive was mapped. I guess the way to do it is to run the bat file like \\server\....

  5. #5


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,646
    Thank Post
    251
    Thanked 2,914 Times in 2,145 Posts
    Rep Power
    830
    Quote Originally Posted by engineer_z View Post
    Am trying to a mount a network drive with the following in a bat file
    Have you tried using UNC paths instead?

    Quote Originally Posted by engineer_z View Post
    The problem is when I run the shortcut of the bat file, the mounted network drive is not shown.
    It sounds like you need to set the following registry value.

    This problem occurs because UAC treats members of the Administrators group as standard users. When network shares are mapped, they are linked to the current logon session for the current process access token. This means that if a user uses the command prompt (cmd.exe) together with the filtered access token to map a network share, the network share is not mapped for processes that run with the full administrator access token. (Source)
    Code:
    Windows Registry Editor Version 5.00
     
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "EnableLinkedConnections"=dword:00000001

  6. #6

    Join Date
    Aug 2013
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    where should I put this code

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Policies\System] "EnableLinkedConnections"=dword:00000001

  7. #7


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,646
    Thank Post
    251
    Thanked 2,914 Times in 2,145 Posts
    Rep Power
    830
    Quote Originally Posted by engineer_z View Post
    where should I put this code
    Copy-and-paste into Notepad, save as EnableLinkedConnections.reg and then double-click the .reg file.

  8. #8
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    123
    Thanked 286 Times in 263 Posts
    Rep Power
    108
    This thread has been closed pending further enquiries.



SHARE:
+ Post New Thread

Similar Threads

  1. Map network drives on wireless network
    By woody in forum Windows
    Replies: 24
    Last Post: 1st December 2007, 07:27 PM
  2. Mapping a Hidden Network Drive
    By BKGarry in forum Mac
    Replies: 1
    Last Post: 3rd March 2007, 09:24 PM
  3. Mapped Network Drive with Redirected Folders
    By SpuffMonkey in forum How do you do....it?
    Replies: 5
    Last Post: 2nd November 2006, 06:23 PM
  4. Network Drive
    By Buzz in forum Wireless Networks
    Replies: 3
    Last Post: 12th October 2006, 05:49 PM
  5. Replies: 4
    Last Post: 9th October 2006, 11:00 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •