Mapping a drive to a Microsoft Domained share or device

Hi
We have MAC's running OS 9.2 that we need to map a drive to a share on a Microsoft Domained LAN. Can anyone point me in the right direction as to how to do this? We know that this command works from OS 10.3 - cifs://windowsIP but it does not work from OS 9.2. Any help would be greatly appreciated.

Hi there,
This article contains some useful tips:
http://support.apple.com/kb/HT2973
The upshot is that Mac OS 9 doesn't have native SMB support so you'll need to install additional software. Dave is one of the packages mentioned in the article.

Similar Messages

  • How can I get a Powershell script which maps network drives to execute at logon to any workstation in my domain

    I want to map network drives for each user when they logon to any workstation in the network.  I have created and tested the PS1 script which works fine where the drives attach and used persistent parameter.  I have updated the Windows 7 Professional
    64-bit workstation to the latest PS 4.0 code.  I have created the GPO and believe everything is assigned properly.  I made changes to allow execution of local and remote signed scripts.  I have forced the changes on a workstation using GPUPDATE
    /force, but the drives do not connect.  The GPRESULT is as follows which shows the policies are in place as shown below.  
    What am I missing to get the script to execute? 
    RSOP data for MRC\mikeg on MIDRUBD03 : Logging Mode
    OS Configuration:            Member Workstation
    OS Version:                  6.1.7601
    Site Name:                   N/A
    Roaming Profile:             N/A
    Local Profile:               C:\Users\mikeg.MRC
    Connected over a slow link?: No
    USER SETTINGS
        CN=My Name,CN=Users,DC=mrc,DC=net
        Last time Group Policy was applied: 7/21/2014 at 8:22:05 AM
        Group Policy was applied from:      MIDSRVR01.mrc.net
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        MRC
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            StartingUp
        The following GPOs were not applied because they were filtered out
            Default Domain Policy
                Filtering:  Not Applied (Empty)
            Local Group Policy
                Filtering:  Not Applied (Empty)
        The user is a part of the following security groups
            Domain Admins
            Everyone
            BUILTIN\Administrators
            BUILTIN\Users
            NT AUTHORITY\INTERACTIVE
            CONSOLE LOGON
            NT AUTHORITY\Authenticated Users
            This Organization
            LOCAL
            MRCAdmins
            Domain Users
            Enterprise Admins
            Schema Admins
            AS400_Permanent_Users
            Denied RODC Password Replication Group
            DnsAdmins
            High Mandatory Level
        The user has the following security privileges
        Resultant Set Of Policies for User
            Software Installations
                N/A
            Logon Scripts
                GPO: StartingUp
                    Name:         C:\Windows\SYSVOL\sysvol\mrc.net\Policies\{47773A6D-1115-4A3D-BB74-F672B315A430}\User\Scr
    pts\Logon\MapDriveScript.ps1
                    Parameters:
                    LastExecuted: This script has not yet been executed.
            Logoff Scripts
            Public Key Policies
                N/A
            Administrative Templates
                GPO: StartingUp
                    KeyName:     Software\Policies\Microsoft\Windows\PowerShell\EnableScripts
                    Value:       1, 0, 0, 0
                    State:       Enabled
                GPO: StartingUp
                    KeyName:     Software\Policies\Microsoft\Windows\PowerShell\ExecutionPolicy
                    Value:       82, 0, 101, 0, 109, 0, 111, 0, 116, 0, 101, 0, 83, 0, 105, 0, 103, 0, 110, 0, 101, 0, 100,
    0, 0, 0
                    State:       Enabled
            Folder Redirection
                N/A
            Internet Explorer Browser User Interface
                N/A
            Internet Explorer Connection
                N/A
            Internet Explorer URLs
                N/A
            Internet Explorer Security
                N/A
            Internet Explorer Programs
                N/A

    >                  Name:
    > C:\Windows\SYSVOL\sysvol\mrc.net\Policies\{47773A6D-1115-4A3D-BB74-F672B315A430}\User\Scr
    > pts\Logon\MapDriveScript.ps1
    >                  Parameters:
    First: Only one of all current answers points in the right direction.
    You picked the local sysvol path on the DC which does not exist on
    clients, of course...
    The Path to the script MUST be an UNC path starting like
    \\mrc.net\sysvol\mrc.net\Policies\...
    Second: You CANNOT execute PS1 directly (unless you change the .ps1 file
    extension configuration). The "Name" MUST be "powershell.exe", and the
    script itself goes into "Parameters".
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How can I map a drive to Azue file shares without user intervention or having a user logged on?

    I have the file share created, and can manually map the drive. I have even created a batch file that will create the drive mapping.  One step further, I used the following regedit to create the mapped drive:
    Regedit:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    add new string value:
    value name:  MapS
    value data:  c:\azurefileshare.bat
    I have a scheduled task running a batch file running the net use command, and the drive is available, and I can create/delete files, so access is not an issue.
    All works fine if I log onto the server, however, what I am trying to accomplish, is to have that drive mapped upon reboot without having a user log on.   Checking the log file running the net use command when no one is logged on, I get the following:
    Status       Local     Remote                    Network
    Unavailable  S:        path of file share
    Microsoft Windows Network
    The command completed successfully.
    New connections will be remembered.
    Is there a way to accomplish this?  Thanks in advance.

    Hello wdick,
    Thank you for your response and getting back on this issue. I am sorry that the blog that I referred to was not available. I pretty much thought that you must be referring to the ‘File Services’ which is in preview yet. I recently had another user with a similar
    question but currently, the users can access the files using only 'Interactive logon'. You can refer to this link: 
     http://social.msdn.microsoft.com/Forums/en-US/1f1fa9b5-a81d-4067-9d90-2c7c47667732/azure-file-services-authentication-without-prompt-passthrough?forum=windowsazuredata 
    Thanks.
    Syed Irfan Hussain

  • Drive is unexpectedly mapped to the root of a nested share in Windows 8.1

    The following link details both my problem and a hotfix which should address it completely. 
    http://support.microsoft.com/kb/2878604/en-us
    Consider the following scenario:
    I have a computer that is running Windows 8.1.
    I have configured the value of the EnableLinkedConnections registry entry to
    1 to enable elevated processes to access network shares. 
    I try to map a drive to a nested share by using an elevated token on the computer. For example, I try to map a drive to the following share path:
    \\computername\share\myshare\user
    In this scenario, the drive is unexpectedly mapped to the root of the nested share. For example, the drive is unexpectedly mapped to the following path: 
    \\computername\share
    However, the downloadable patch does not seem to work with Windows 8.1...  I get an error message "The update is not applicable to your computer".
    Any suggestions?

    Hi,
    Please be aware that the hotfix is only applied to Windows 8 and server 2012.
    Make sure that your system is up to date, since Microsoft will release updates to fix general issues as users’ feedbacks or tests.
    Please try to map the required drive in Command prompt to see what’s going on:
    How to Map Network Drives From the Command Prompt in Windows
    http://www.howtogeek.com/118452/how-to-map-network-drives-from-the-command-prompt-in-windows/
    If the issue still persists, please list the detailed steps you mapped drive here for my repro and test.
    Keep post.
    Regards,
    Kate Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Mapped Drive B:\ to a network share but does not show up in Windows Explorer.

    I mapped drive B: to a network share but it does not show up in Windows explorer.  I can go to the drive by typing b:\ but is not visible in explorer.  But if I login as local admin it shows up in windows explorer.  Any suggestions?

    Hi Lloyd Reeves,
    Based on my research, I would like to suggest the following:
    Disconnect the mapped drive and map it again.
    Ensure the user is using an administrator account; or change another user account to have a try.
    Create  a shortcut for a share folder and see if it will disappear.
    In addition,  it would be helpful for future troubleshooting if you could help to collect the following information:
    Which method did you use to map drive?
    Was there any error message in the Event log? If so, please provide the      detailed information.
    For your information, please refer to this similar case:
    http://social.technet.microsoft.com/Forums/windows/en-US/6acab187-c46c-4ff9-8604-196c64ea8995/mapped-drives-not-visible-in-explorer-although-shown-in-map-network-drive?forum=w7itpronetworking
    Regards,
    Lany Zhang

  • Trying to map a drive to a share on a mac from a PC

    My home network has a mac and a pc, the network router is tcpip only.
    How do I map a drive to a share on a MAC from a PC? I don't see the Mac in Network Neighbourhood. The mac has file sharing on with SMB. I can connect from the mac to the PC....

    It sounds like you're running Lion. In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    Once the library is visible you should be able to find the iWeb folder and your domain file.  Just make sure you're looking in your Home()/Library.
    OT

  • Scipt to prompt and authenticate users to AD and then map 2 next available drive letters to 2 network shares

    Hi,
    So I have been trying to write some code that will
    prompt users to authenticate to AD and use that authentication to map the next 2 available drive letter to two network shares.
    I have adopted using the HAT format as this provides me with the ability to prompt for a username and password and authenitcate to AD.
    <script language="vbscript">
    Function setSize()
    window.resizeTo 350,300
    Window.moveTo (screen.width-240)/2, (screen.height-600)/2
    End Function
    Function cmdSubmit_OnClick()
    Dim strUser 'User Name variable
    Dim strPW 'User Password variable
    if auth.username.value = "" Then
    msgbox ("ERROR: No User account information provided. Please Try Again!")
    cmdSubmit_OnClick = False
    Elseif auth.password.value = "" Then
    msgbox ("ERROR: No User account information provided. Please Try Again!")
    cmdSubmit_OnClick= False
    Else
    strUser = auth.username.value
    strPW = auth.password.value
    Authenticate strUser, strPW
    End If
    End Function
    Public Sub Authenticate (Byref strUser, Byref strPW)
    On Error Resume Next
    Const ADS_SECURE_AUTHENTICATION = &H1
    Const ADS_SERVER_BIND = &H200
    Dim strPath 'LDAP path where the Users accounts are listed
    Dim LDAP 'Directory Service Object reference variable
    Dim strAuth 'Parses the User Name and Password through the DSObject
    strPath = "LDAP://fanzldap.au.fjanz.com/rootDSE"
    Set LDAP = GetObject("LDAP://company/rootDSE")
    Set strAuth = LDAP.OpenDSObject(strPath, strUser, strPW, ADS_SECURE_AUTHENTICATION Or ADS_SERVER_BIND)
    If Err.number <> 0 Then
    intTemp = msgbox(strUser & " could not be authenticated", vbYES)
    if intTemp = vbYes Then
    'window.location.reload()
    End If
    Else
    For Each obj in strAuth
    If obj.Class = "user" Then
    If obj.Get("samAccountName") = strUser Then
    msgbox ("Success! " & strUser & " has been authenticated with Active Directory")
    window.close()
    Set wShell = CreateObject("Wscript.shell")
    wShell.run "Firstletterali.vbs"
    End If
    End If
    Next
    End If
    End Sub
    </script>
    <head>
    <body style="background-color:#B0C4DE">
    <img src=Title.jpg><br>
    <HTA:APPLICATION
    APPLICATIONNAME="User Login"
    BORDER="thin"
    SCROLL="no"
    SINGLEINSTANCE="yes"
    WINDOWSTATE="normal">
    <title>NAS Authentication</title>
    <body onload="vbs:setSize()">
    <div class="style2">
    <h3>NAS Archive Authentication</h3>
    </div>
    <form method="post" id="auth" name="auth">
    <span class="style3"><strong>User Name:&nbsp; </strong></span>
    <input id="Username" name="Username" type="text" style="width: 150px" /><br>
    <span class="style3">
    <strong>Password:&nbsp;&nbsp;&nbsp;&nbsp; </strong></span>
    <input id="password" name="password" type="password" style="width: 150px" /><br><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="submit" value="Submit" name="cmdSubmit" />
    <input type="button" value="Exit" onclick="self.close()">
    </form>
    </body>
    </html>
    using the above I can succefully authenticate users but I cant work out how to then use that authenticattion to map the next to available drive letters to a network source.
    The code I have for that is
    Option Explicit
    Dim strDriveLetter, strRemotePath, strRemotePath1, strDriveLetter1
    Dim objNetwork, objShell
    Dim CheckDrive, DriveExists, intDrive
    Dim strAlpha, strExtract, intAlpha, intCount
    ' The section sets the variables
    strRemotePath = "\\mel\groups\Team\general"
    strRemotePath1 = "\\mel\groups\Team\specific"
    strDriveLetter = "B:"
    strDriveLetter1 = "H:"
    strAlpha = "BHIJKLMNOPQRSTUVWXYZ"
    intAlpha = 0
    intCount = 0
    err.number= vbEmpty
    ' This sections creates two objects:
    ' objShell and objNetwork and then counts the drives
    Set objShell = CreateObject("WScript.Shell")
    Set objNetwork = CreateObject("WScript.Network")
    Set CheckDrive = objNetwork.EnumNetworkDrives()
    ' This section operates the For ... Next loop
    ' See how it compares the enumerated drive letters
    ' With strDriveLetter
    On Error Resume Next
    DriveExists = False
    ' Sets the Outer loop to check for 24 letters in strAlpha
    For intCount = 1 To 24
    DriveExists = False
    ' CheckDrive compares each Enumerated network drive
    ' with the proposed drive letter held by strDriveLetter
    For intDrive = 0 To CheckDrive.Count - 1 Step 2
    If CheckDrive.Item(intDrive) = strDriveLetter _
    Then DriveExists = True
    Next
    intAlpha = intAlpha + 1
    ' Logic section if strDriveLetter does not = DriveExist
    ' Then go ahead and map the drive
    'Wscript.Echo strDriveLetter & " exists: " & DriveExists
    If DriveExists = False Then objNetwork.MapNetworkDrive _
    strDriveLetter, strRemotePath
    call ShowExplorer ' Extra code to take you to the mapped drive
    ' Appends a colon to drive letter. 1 means number of letters
    strDriveLetter = Mid(strAlpha, intAlpha,1) & ":"
    ' If the DriveExists, then it is necessary to
    ' reset the variable from true --> false for next test loop
    If DriveExists = True Then DriveExists = False
    Next
    WScript.Echo "Out of drive letters. Last letter " & strDriveLetter
    WScript.Quit(1)
    'Sub ShowExplorer()
    'If DriveExists = False Then Wscript.Echo strDriveLetter & " Has been mapped for archiving"
    'If DriveExists = False Then objShell.run _
    '("Explorer" & " " & strDriveLetter & "\" )
    'If DriveExists = False Then WScript.Quit(0)
    'End Sub
    On Error Resume Next
    DriveExists = False
    ' Sets the Outer loop to check for 24 letters in strAlpha
    For intCount = 1 To 24
    DriveExists = False
    ' CheckDrive compares each Enumerated network drive
    ' with the proposed drive letter held by strDriveLetter1
    For intDrive = 0 To CheckDrive.Count - 1 Step 2
    If CheckDrive.Item(intDrive) = strDriveLetter1 _
    Then DriveExists = True
    Next
    intAlpha = intAlpha + 1
    ' Logic section if strDriveLetter1 does not = DriveExist
    ' Then go ahead and map the drive
    'Wscript.Echo strDriveLetter1 & " exists: " & DriveExists
    If DriveExists = False Then objNetwork.MapNetworkDrive _
    strDriveLetter1, strRemotePath1
    call ShowExplorer ' Extra code to take you to the mapped drive
    ' Appends a colon to drive letter. 1 means number of letters
    strDriveLetter1 = Mid(strAlpha, intAlpha,1) & ":"
    ' If the DriveExists, then it is necessary to
    ' reset the variable from true --> false for next test loop
    If DriveExists = True Then DriveExists = False
    Next
    WScript.Echo "Out of drive letters. Last letter " & strDriveLetter1
    WScript.Quit(1)
    Sub ShowExplorer()
    If DriveExists = False Then Wscript.Echo strDriveLetter & " Has been mapped for archiving"
    If DriveExists = False Then objShell.run _
    ("Explorer" & " " & strDriveLetter & "\" )
    If DriveExists = False Then WScript.Quit(0)
    End Sub
    Now the above script will find the next availabe letter and map one location to it...I still havent worked out to create another loop for it to do it again. It obviously also requires that you already be authenticated to map to that location.
    I looking for some help on how to marry these to scripts together.
    Thanks
    Ali

    Hi Ali
    Here is some code that will enumerate two free adjacent drive letters. It starts searching from "C" all the way to "Z" for two drives letters that are adjacent and returns the results in an array then echos the results. You can easily adapt this code to
    map your network drives to each drive letter. Hope that helps
    Cheers Matt :)
    Option Explicit
    Dim objFSO
    On Error Resume Next
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    ProcessScript
    If Err.Number <> 0 Then
    WScript.Quit
    End If
    On Error Goto 0
    'Functions Processing Section
    'Name : ProcessScript -> Primary Function that controls all other script processing.
    'Parameters : None ->
    'Return : None ->
    Function ProcessScript
    Dim driveLetters, driveLetter
    If Not GetFreeDrives(driveLetters) Then
    Exit Function
    End If
    For Each driveLetter In driveLetters
    MsgBox driveLetter, vbInformation
    Next
    End Function
    'Name : GetFreeDrives -> Searches for a pair of free adjacent drive letters.
    'Parameters : adjacentDrives -> Input/Output : variable assigned to an array containing the first two free adjacent drives.
    'Return : GetFreeDrives -> Returns True if Successful otherwise returns False.
    Function GetFreeDrives(adjacentDrives)
    GetFreeDrives = False
    Dim drive, driveLetter, drivesDict, i
    Set drivesDict = NewDictionary
    driveLetter = "C"
    'Add the drives collection into the dictionary.
    For Each drive In objFSO.drives
    drivesDict(drive.DriveLetter) = ""
    Next
    'Check drive letters C: to Z: for two free adjacent drive letters and set the "driveLetter" variable to the first one.
    For i = Asc(driveLetter) To Asc("Z")
    If Not drivesDict.Exists(Chr(i)) And Not drivesDict.Exists(Chr(i + 1)) Then
    driveLetter = Chr(i)
    Exit For
    End If
    Next
    'If two free adjacent drive letters were not found then exit.
    If driveLetter = "" Then
    Exit Function
    End If
    adjacentDrives = Array(driveLetter, Chr(Asc(driveLetter) + 1))
    GetFreeDrives = True
    End Function
    'Name : NewDictionary -> Creates a new dictionary object.
    'Parameters : None ->
    'Return : NewDictionary -> Returns a dictionary object.
    Function NewDictionary
    Dim dict
    Set dict = CreateObject("scripting.Dictionary")
    dict.CompareMode = vbTextCompare
    Set NewDictionary = dict
    End Function

  • GPO preference not applying to map network drive?

    Hello,
    Server 2008 r2 GPO preference not applying to users to map network drive? When I see errors on client pc, here is the error I found?
    Log Name: Application
    Source: Group Policy Drive Maps
    Date: 1/7/2014 1:47:33 PM
    Event ID: 4098
    Task Category: (2)
    Level: Warning
    Keywords: Classic
    User: SYSTEM
    Description:
    The user 'S:' preference item in the 'GPO {C990F58F-E8B2-41BF-B6FD-E1BAC389C4F1}' Group Policy object did not apply because it failed with error code '0x80070037 The specified network resource or device is no longer available.' This error was suppressed.
    GPresult shows following message on client pc:
    The following settings have applied to this object. Within this category, settings nearest the top of the report are the prevailing settings when resolving conflicts.
    Winning GPO Name GPO
    Result: Failure (Error Code: 0x80070037)
    I also have tried using full server name in the share, IP address but no success. :(
    I'm using variable %username% in share location: \\servername\share\%username%
    Any idea? Please help. Thanks

    Just a control question, can you actually access the users homefolder manually from the client?
    Drive maps for GP Preferences is used to map drives only. It cannot create folder on the server and that’s why we see the error “0x80070037 The specified network resource or device is no longer available.”.  If you'd like to use share location
    with Variable, please ensure that these folders exist on the file server.
    Hope this helps you!
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

  • Map a drive from Windows 2000 to Solaris directory

    Solaris is new to me. So, please forgive me if I do not have technical terms correct. We recently installed Solaris (SunOS 5.7). Is there a way to map a drive to a Solaris directory from a Windows 2000 workstation? I tried to do a NET USE j: \\123.123.123.123\home /user:root *, and I receive the following error:
    System error 67 has occurred.
    The network name cannot be found.
    Is there something I need to do on the server to make this work? I was reading about the share command in Solaris. Is this what I need?
    Thanks in advance!
    Tim

    You will need to install Samba on your UNIX box or install Microsoft Windows Services for UNIX...
    Samba is probably easiest...both are free...

  • Can't map network drive - Network Error 0x800704cf I've tried EVERYTHING (that I can think of)

    I've had this issue for months now but I really can't take it anymore, I NEED to be able to map a shared drive (I have all privileges for it) and every time I try I get an error code 0x800704cf, my computer has been formatted 4 times and after that
    I works for about a month and then it goes back to the same crap,
    I've tried different suggestions that I have found, most common one if from 
    http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/cant-map-network-drive-network-error-0x800704cf/b1d0eb44-9634-4108-a0af-8f3dea98314d
    where client for Microsoft networks" and "file and printer sharing have to both be checked, our IT team has tried plenty of times but
    they have NO IDEA what is the root cause, and they just go for the formatting but I can't have that anymore.
    When I try in another machine I am able to access with no problems at all..so I know its not my credentials.
    All hardware has been checked as well as replaced for other known to be working ones.
    PLEASE I NEED HELP

    are you on the internet or a local share
    Windows 8.1 has better sharing that works properly, I have seen issues with Windows 7, which prompted me to use a server to handle to problem
    make sure there is only 1 network adapter in each machine (active)
    Corsair Carbide 300R with window
    Corsair TX850V2 70A@12V
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 6600 Ti FTW Signature 2(Gk104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Enterprise x64
    Microsoft Wireless Desktop 2000
    Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • Enable Recycle Bin on mapped network drives

    A few years ago I discovered how redirected user profile folders in Windows get Recycle Bin protection, even when the folders are redirected to a network location. This was a huge find for me, and I used this feature to add Recycle Bin coverage to some of
    my mapped network drives. I shared this information on another forum here:
    http://forums.mydigitallife.info/threads/16974-Tip-Network-Recycle-bin
    Today I figured out a better way to achieve the same goal that doesn't rely on user profile folder redirection, and am sharing that information for other users to try out. You might want to take a look at these forum topics for additional information:
    http://technet.microsoft.com/en-us/library/cc787939(v=ws.10).aspx
    http://blogs.technet.com/b/askds/archive/2012/07/16/managing-the-recycle-bin-with-redirected-folders-with-vista-or-windows-7.aspx
    http://msdn.microsoft.com/en-us/library/bb882665.aspx
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/10bfcfb9-14f3-434e-9ffa-0289b8b32e01/folder-redirection-recycle-bin
    The standard disclaimer applies - this might break stuff. I've only tested in Windows 8, and my testing is limited. Try this at your own risk.
    This is what I've learned (or think I've learned - I might be wrong):
    Windows Vista and later store the configuration settings for the Recycle Bin for redirected user profile folders in this registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder
    Under this key are separate keys for each redirected folder that is protected by the Recycle Bin. The keys contain the configuration information for each protected folder, and are named to match the GUIDs for "Known Folders." A list of the Known
    Folder to GUID mappings is available in one of the links above.
    The registry also contains a list of "known folders" at this location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions
    So, I reasoned that if I could create my own custom "known folder," I could add that to the list of folders that were protected by the Recycle Bin and protect any mapped network drive I wanted. So I looked at the list of existing "known folders"
    and created a key that was similar to the Documents key. I then fiddled with the values in the key until I narrowed it down to the minimum number needed to make the recycle bin work.
    This .reg file will protect a mapped X: drive with a ~50GB recycle bin. You should modify the file to fit your needs:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{9147E464-33A6-48E2-A3C9-361EFD417DEF}]
    "RelativePath"="X:\\"
    "Category"=dword:00000004
    "Name"="XDrive"
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{9147E464-33A6-48E2-A3C9-361EFD417DEF}]
    "MaxCapacity"=dword:0000c7eb
    "NukeOnDelete"=dword:00000000
    A few things of note:
    The GUID in the above .reg file {9147E464-33A6-48E2-A3C9-361EFD417DEF} came from this PowerShell command: "{"+[guid]::NewGUID().ToString().ToUpper()+"}"
    Each "known folder"/Recycle Bin combination requires a unique GUID. If you don't want to use PowerShell to generate a GUID, you can use an online GUID generator.
    I don't know what the "Category" value does, but the key I copied had it set to 4, and that works, so I didn't test any other values.
    The "Name" value is required, but is not the name that will be shown if you right-click on the Recycle Bin and select properties. (At least not in my environment.) In my environment, the name that is shown is the name of the network drive.
    Making this change adds a "Location" tab to the properties page of your mapped network drives. I suspect this could be removed by changing the "Category" value, but didn't bother to find out.
    I only tested with mapped network drives. I suspect this would work with UNC paths as well, but I didn't bother testing.
    I hope you're as excited to find this as I was to figure it out. Let me know if this works for you. I now plan to deploy the registry keys with Group Policy Preferences and will update this forum post with any information I discover.
    Best regards
    --Russel
    Update: I am now using Group Policy Preferences to deploy the needed registry keys, and all my mapped network drives are now protected by the recycle bin.
    Update 2: I have tested now with UNC paths, and this works fine. I still use mapped network drives, but if your environment requires UNC paths instead, you can use them. Note however that if you have a mapped network drive that points to a UNC path, and
    you protect the UNC path with a registry change, if a user deletes a file from the mapped network drive that points to that UNC path, the file will be permanently deleted. See below for more details.

    FANTASTIC work Russel !
    This is extremely helpful.
    I've turned your work into a Bat Script that will automatically make the reg file.
    It creates a unique guid each time it is run, so no worries on overlaps.
    Just copy and paste the following into notepad
    and save it as "Network Recycling Bin - auto make registry file.bat"
    echo off
    REM ========== MAIN FUNCTION  ========================
    Call :CreateREGfile
    PAUSE
    goto :eof
    REM ========== SUB FUNCTIONS  ========================
    :CreateREGfile
    set /p RelativePath=Enter
    current mapped path of drive (e.g. X:\FileShare\D_Drive):
    REM replace \ with \\ (for reg value its a requirement)
    Set RelativePath=%RelativePath:\=\\% 
    set /p MaxBinSize_Dec=Enter
    max size (in mb) (eg 11gb=11000):
    call :toHex
    %MaxBinSize_Dec% MaxBinSize_Hex
    Set outputREG="Network
    Recycling Bin - %RelativePath:~0,1% Drive (%MaxBinSize_Dec%mb).reg"
    call :MakeGUID_VBS NewGUID
    REM echo My new GUID : %NewGUID%
    echo Windows Registry Editor Version 5.00
    >
    %outputREG%
    echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\%NewGUID%]
    >>
    %outputREG%
    echo "RelativePath"="%RelativePath%"
    >>
    %outputREG%
    echo "Category"=dword:00000004
    >>
    %outputREG%
    echo "Name"="NetworkDrive2RecyclingBin_%NewGUID:~1,5%"
    >>
    %outputREG%
    REM The "Name" value is required, but is not the name that will be shown if you right-click on the Recycle Bin and select properties. That will be autoset to the network drive name.
    echo.>>
    %outputREG%
    echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\%NewGUID%] 
    >>
    %outputREG%
    echo "MaxCapacity"=dword:%MaxBinSize_Hex%
    >>
    %outputREG%
    echo "NukeOnDelete"=dword:00000000
    >>
    %outputREG%
    goto :eof
    :MakeGUID_VBS
    echo set obj
    = CreateObject("Scriptlet.TypeLib")
    > TEMP_generateGUID.vbs
    echo WScript.Echo obj.GUID
    >> TEMP_generateGUID.vbs
    FOR /F "usebackq tokens=*"
    %%rin (`CSCRIPT "TEMP_generateGUID.vbs"`)DO
    SET RESULT=%%r
    set
    %1=%RESULT%
    del TEMP_generateGUID.vbs
    goto :eof
    :toDec
    :: todec hex dec -- convert a hexadecimal number to decimal
    ::             -- hex [in]      - hexadecimal number to convert
    ::             -- dec [out,opt] - variable to store the converted decimal number in
    SETLOCAL
    set /a dec=0x%~1
    ( ENDLOCAL & REM RETURN VALUES
        IF "%~2"
    NEQ "" (SET %~2=%dec%)ELSE
    ECHO.%dec%
    EXIT /b
    :toHex
    :: eg  call :toHex dec hex -- convert a decimal number to hexadecimal, i.e. -20 to FFFFFFEC or 26 to 0000001A
    ::             -- dec [in]      - decimal number to convert
    ::             -- hex [out,opt] - variable to store the converted hexadecimal number in
    ::Thanks to 'dbenham' dostips forum users who inspired to improve this function
    :$created 20091203 :$changed 20110330 :$categories Arithmetic,Encoding
    :$source http://www.dostips.com
    SETLOCAL ENABLEDELAYEDEXPANSION
    set /a dec=%~1
    set "hex="
    set "map=0123456789ABCDEF"
    for /L
    %%Nin (1,1,8)do
        set /a "d=dec&15,dec>>=4"
        for
    %%Din (!d!)do
    set "hex=!map:~%%D,1!!hex!"
    rem !!!! REMOVE LEADING ZEROS by activating the next line, e.g. will return 1A instead of 0000001A
    rem for /f "tokens=* delims=0" %%A in ("%hex%") do set "hex=%%A"&if not defined hex set "hex=0"
    ( ENDLOCAL & REM RETURN VALUES
        IF "%~2"
    NEQ "" (SET %~2=%hex%)ELSE
    ECHO.%hex%
    EXIT /b
    :eof

  • Mapped network drive appears empty for all users on one computer

    We have several network drives mapped via a batch file at log in.  On one particular Windows 7 computer one of these drives maps but appears empty.  Manually mapping to the drive and assigning a different drive letter makes no difference but manually
    mapping by entering the IP address allows viewing and accessing the contents.  
    The malfunctioning network drive is also using Hosted BranchCache.  The following settings are set in local group policy:
    (\Network\BranchCache)
    Turn on BrancheCache - Enabled
    Set BranchCache Hosted Cache Mode - Enabled - <servername>
    Configure BranchCache for network files - Enabled - 0
    The servers involved are running Windows Server 2012.
    I am at a loss here and will appreciate any suggestions. 
    ~JuniorG33k "Why is this thus? What is the reason for this thusness?"

    With Offline Files disabled the contents of the mapped drive are visible and accessible.  Unfortunately, Offline Files must be enabled for BranchCache to work.  
    Looking in the Event Viewer at “Applications and Services Logs\Microsoft\Windows\OfflineFiles\Operational” I can see that the mapped network drive transitioned to slow link during high latency but has never transitioned back. 
    ~JuniorG33k "Why is this thus? What is the reason for this thusness?"

  • Location is not available to mapped network drive in Windows 8 using Synology NAS

    Original Thread:
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-files/location-is-not-available-to-mapped-network-drive/ca7eac5c-0e3d-494b-b488-e245978e4db9
    I have recently upgraded to Windows 8.1 standard edition. I have come across a problem when using the option for mapped network drives. Under Windows 7 I would normally map a network drive (Synology NAS) and I could access all files, copy and paste, install
    apps, and link media, all from within the mapped network drive. However, under Windows 8.1 I have come across a couple of problems.
    1. When I try to copy a file from my "Mapped Network Drive" to the C:\Drive (OS Boot Drive), I get the following error,
    "E:\ is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again. if the location is on a network, make sure you're connected to the network or internet, and then try again. If the
    location still can't be found, it might have been moved or deleted."
    However, if I copy a file from the "NETWORK/Network Location" the file copies just fine with no problems. And, If I also copy a file from a "Added Network Location" the file also copies just fine with no problems. And, if I copy a file from
    my "Mapped Network Drive" to my D:\Drive (non OS Drive), the file copies just fine with no problems.
    2. When I try to install apps from my "Mapped Network Drive" they will sometimes install and sometimes not (I am also choosing the option to run the programs as Administrator). Again if I try to install using either the "NETWORK/Network Location"
    or an "Added Network Location" the apps install just fine with no problems.
    3. When I link media (music or videos) from my "Mapped Network Drive" they will work but once I reboot they no longer work as if they have lost the file path or link of the original source location.
    4. When I use FireFox (browser) and I set my default download dir to my "Mapped Network Drive" it will work once originally set it but after I reboot, it no longer works. However, again if I set the default download dir to either the "NETWORK/Network
    Location" or an "Added Network Location" the default download dir works fine even after reboot.
    While I am able to access my network drive using any of the three options, "Mapped Network Drive", "NETWORK/Network Location", and "Added Network Location" but only "NETWORK/Network Location", and "Added Network
    Location"appear to be reliable. Tbh I would prefer to be able to use my "Mapped Network Drive" in Windows 8 as I have been able to under Windows 7.
    More info:
    I currently have UAC set to "Never Notify".
    I also have Windows 8.1 installed on three different systems and all of them give me the same exact problems. One of the systems is a completely clean install with no 3rd party apps installed.
    Just so its clear I am able to access the "Mapped Network Drive" but unfortunately this method of access appears to be unreliable in Windows 8 but in Windows 7 it works flawlessly.
    If I map a network drive from another pc running windows 7 or 8, I can access and use the mapped drive with no problems. This problem appears to be related to the Synology NAS devices and I have researched the Synology forums but only found one thread about
    the problem, here:
    http://forum.synology.com/enu/viewtopic.php?f=49&t=76687
    I have searched several forums and attempted to pick the brains of my local computer shops for any incite on this problem but I have been unable to find a solution/fix.
    Any help resolving this is greatly appreciated.

    Hi,
    Based on your description, we can temporarily disable the firewall to see whether the issue persists.
    For this issue seems related to the Synology NAS devices, in order to get professional help regarding the product, we can contact the vendor support to see whether the issue
    can be fixed.
    Best regards,
    Frank Shen

  • Map Network drive in Windows 8.1

    Hi Guys,
    I was suffering a weird problem about mapping network drive in Windows 8.1.
    I ran the command "net use ...." to map a network drive and the command was running successfully. Then I used the "net use" command to check the status for the network drive mapped before, it showed good. But when I opened "my computer",
    I couldn't see the network drive mapped before in the explorer.

    Hi,
    After you created the mapped network drive with "net use", are you able to find the mapped driver letter information in the registry HKCU\Network?
    Please also try to map the network drive via GUI tool under Explorer "Map network drive" option, check the result.
    for net use command, please make sure that you've set the correct parameters
    https://technet.microsoft.com/en-us/library/gg651155.aspx
    Yolanda Zhu
    TechNet Community Support

  • Windows Server R2 stop working. Cannot map network drive with my Win 7 client.

    Hi to everyone.
    I had a problem for quite some time time and even i tried to solved it till now unfortunately seems unreachable.
    I have a 2008 R2 server which is used as SQL 2005 server. My application program shared from the server. My win 7 client  use a map network drive to access my share folder from my windows server. Suddenly my clients lost my connection. Since then i
    cannot connect to the folder and i got the message
    Windows cannot access \\Server\Storage
    Check the spelling of the name. Otherwise there might be a problem with your network. To try to identify and resolve network problems, click Diagnose.
    Details: Error code: 0x80070035 The network path was not found.
    I check out my share permissions, all seems ok. I also check out firewall, services, TCP/IP, share folders, really almost everything but still nothing.
    Does anyone have any idea how to resolve the problem.

    Yes what seems to happened is due to virus infections.
    This problem started 2 weeks a go. First i had network connection error with my client. Them my application had respond errors. Finally i lost my network drive.
    I realize that the problem was due to virus. My old antivirus program doesn't s scan any threats so i uninstalled it, and i installed Panta antivirus and i clean up my server and my clients from virus. I am sure that both are clean from virus. My antivirus
    program runs every day with no traces of infections.
    Since then i cannot see my share folders on my server side and i cannot map network drive.
    One thing that i want to avoid is re-installation of windows server 2008 R2.
    Can anyone help about this
    Thanks

Maybe you are looking for

  • Why is my iphone4 randomly erasing photos?

    My iPhone4 has in the last month started to randomly erase some photos off my camera roll. No ryhme or reason. Just today since lunch I've lost over 2 dozen photos, and in the last month over 100 more. I'm at work, so I haven't even done anything wit

  • Making DB updates and sending message to JMS queue enclosed in a single transaction

              using a container managed transactions can we achieve sending a message to the JMS           queue and updating DB as part of single transaction with the data base driver not           supporting XA. If yes what all configurations setting I

  • Importing Crystal report in SAP B1

    Hi All, I have imported crystal report in SAP B1. In Parameter screen there are 3 parameters.(From Date, To Date and Location). In that Location should have values from OLCT table. How can i fill that location text with location name without FMS.

  • Can i use iphone in the philippines?

    waiting so long for the iphone to be released now that it is, im having doubt buying it. does exclusive to at&t means that the iphone cant be used using other network provider? cause i cant use at&t even if i want to, cause i live here in the philppi

  • Combining FormsCentral web forms

    If I have two web forms that I want to merge into one, is there any automated capability to do that, or do I really have to manually re-create the same fields and properties from Form 2 onto Form 1?