Unavailable mapped network drive hangs file explorer

I am using Windows 8.1 Pro (x64) and I have this problem from beginning.
I have mapped two network drives, one is my home NAS and second is shared network storage in our office.
When I open some application which is loading directories (XnView for example) in my computer OR I want open some file in any application
OR, especially, I want to save some new document by "Save as" button (in Notepad, MS Word for example), application hangs for about 30 seconds and I can not work with it. Other applications are working fine during this freeze.
The problem occurs when I am at home and the network storage in office is not available (or I am in the office and home NAS is not available of course), but Windows
doesn't show unavailable drive as disconnected.
When I connect my computer to the office VPN (and both network storages are available) OR I unmap unavailable network drive, everything works perfectly... but it is really not comfortable.
I have tried stop Indexing and disable Windows Defender as I read on some forums but without any solution.
Any hints how to solve this issue?

This isn't one I've seen personally, and I can really test whether this would work, however...
On each of your network drives, try selecting something (doesn't matter what, but probably something small is better), right clicking on the folder and selecting "Always available offline" so your machine maintains a local copy of that information.
My logic being, by doing that on both network drives, each of them contains some information which is available regardless of the resource itself being visible. In this situation Windows will continue to show those network drives as available and accessible,
even if you're no longer connected to either network. Since those folders are available the network drives will also be available, and if you're no connected to the resource itself, Windows will still see that drive as connected, will still be able to list
it, and the apps you're seeing this issue with should no longer have any problems (provided they're not trying to access information on one of those drives that isn't available obviously!).

Similar Messages

  • Task scheduler calling a mapped network drive - excel file

    Server 2008 R2 Standard
    User contacted me indicating that a task that is scheduled to run on their server is not working properly.  Supposedly it has run in the past.
    Under the User account on the server they have a mapped drive K: that maps to
    \\server\directory, it is a persistent map.
    They stayed logged into the RDP session and just X out and leave it running.
    The XML of the job is below but the basics are they are calling an excel spreadsheet configured with a Macro from the mapped drive.
    The job is set to run whether user is logged on or not and run with highest privildeges.
    The job action is to run the excel file through the mapping so Action: Start Program Details:  "K:\SQM....name.xls"
    WE ARE GETTING ERROR:  The system cannot find the path specified (0x80070003)
    I'm being told can't run through UNC path as the marco writes alot of information to the K drive?
    Ideas?
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2012-09-27T08:52:37.7381237</Date>
        <Author>domain\username </Author>
        <Description>Scheduled Daily SQM job 4 pm daily</Description>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger>
          <StartBoundary>2012-09-27T16:00:00</StartBoundary>
          <ExecutionTimeLimit>PT20M</ExecutionTimeLimit>
          <Enabled>true</Enabled>
          <ScheduleByWeek>
            <DaysOfWeek>
              <Monday />
              <Tuesday />
              <Wednesday />
              <Thursday />
              <Friday />
            </DaysOfWeek>
            <WeeksInterval>1</WeeksInterval>
          </ScheduleByWeek>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>domain\user </UserId>
          <LogonType>Password</LogonType>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>false</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>PT20M</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>"K:\SQM Public\Job Launch Scripts\AutoLaunch ScheduledSQMs400PM.xls"</Command>
        </Exec>
      </Actions>
    </Task>

    @Feng - the drive mapping is accessible via Explorer and am able to go to go to UNC path from start menu. From both methods I can double click on the .xls and launch the excel file with the macro.
    @MyousufAli - The user account is part of the local Administrator group, the Run with highest privledges is check, the user who is set with permission on the Task has effective permissions of Full Control down the directory structure that is K. Also I'm
    logged into the server where the task is run as the said user when I did the checking for @Feng.
    Additional info
    When I launch the task I get 6 events
    1) 110 - task triggered
    2) 319 - task engine received...
    3) 200 - action started
    4) 203 Action failed to start
    5)  103 - action start failed
    for # 4 I get Task Scheduler failed to launch action "K:\SQM Public\Job Launch Scripts\AutoLaunch ScheduledSQMs400PM.xls" in instance "{a2f44145-0506-475d-91c0-c0915d460d95}" of task "\SQM 400pm Daily". Additional Data: Error Value: 2147942403.
    for #5 I get Task Scheduler failed to start instance "{a2f44145-0506-475d-91c0-c0915d460d95}" of "\SQM 400pm Daily"  task for user "domain name\user" . Additional Data: Error Value: 2147942403.

  • Windows explorer keeps computing items after accessing a mapped network drive

    Our organization has decided to upgrade to windows 7 but we are running into a problem with windows explorer green progress bar hanging after accessing a mapped network drive. When you try to go back to computer or access the control panel after going
    3 or more folders deep into the mapped drive, windows explorer just keeps searching.
    When you expand the arrow in the address bar it states that it is computing items and never stops.
    The only way around this is to right click on libraries and select reset back to defaults and everything is back to normal.
    We are deploying this image of windows 7 to over a 1000 computers and we cannot have this problem lingering, does anyone have a solution to resolve this issue. This does not happen in Windows XP.
    We have tried to turn off windows search and remote differential compression and this does work but the problem is that you lose all search capabilities in windows. So windows search needs to be enabled. We also tried to adjust the MTU, change GP settings,
    and nothing seems to work except to turn windows search off or reset libraries back to default.
    We also did some research online and there are so many people experiencing the same problem, with no resolution expect they have to go back to Windows XP. That is not an option for us.
    Please help us we would really greatly appreciate it.

    Hi,
    The issue could be related to searching and indexing feature in Windows 7. I suggest rebuilding the indexing files.
    Click Start -> Type
    indexing options in the search box -> Advanced -> Index Settings tab-> Rebuild buttion.
    For more information, you can refer to:
    http://windows.microsoft.com/en-us/windows7/Change-advanced-indexing-options
    If the issue persists, you can perform the following troubleshooting steps.
    1. Go to update your network adapter drivers and BIOS from manufacture's site manually.
    2. If any router is involved, please update the firmware.
    3. Perform a System File Checker.
    http://support.microsoft.com/kb/929833
    Best Regards,
    Niki
    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Search for files over a mapped network drive

    Hi,
    At the moment I'm using a simple listFiles with a FileFilter to do a search over a mapped network drive. But the performance is not very good.
    The number of folders and files that need to be searched is rather high, resulting in long waiting times (+5min).
    Is there a way to improve this type of searches?
    Thanks in advance,
    Dave

    Hard to say without seeing details. Try to narrow down where it happens.
    One nasty bug in Windows (let's assume you are using it) is that stat'ing all files in a directory is much faster than stat'ing them individually. In other words, if you do something like
        String names[] = directory.list();
        for (name in names) {
            File f = new File(name);
            if (f.isDirectory()) ...
        }that's way slower than:
        File files[] = directory.listFiles();
        for (f in files) {
            if (f.isDirectory()) ...
        }See if you do "new File()" for all files, e.g. in your filter. It will kill your performance. To demonstrate: open a big directory in standard Windows file explorer. Select all files. Right-click & select Properties. Go for lunch while Windows thinks about it. Compare with performance of clicking Properties for the directory instead of a collection of all the files.

  • UTL_FILE - Write to a file on a mapped network drive

    Hello,
    I am trying to get the UTL_FILE package to write a file to a mapped network drive on
    Windows NT. We have the following definition in the init<SID>.ora file pointing to the
    network drive:
    UTL_FILE_DIR=v:\hawkrpt
    Here is the code to write to the file:
    CREATE OR REPLACE PACKAGE pkgUtlFileTest AS -- package spec
    PROCEDURE isp_UtlFileTest ( vcDir IN VARCHAR2,
    vcFileName IN VARCHAR2,
    vcOpenType IN VARCHAR2,
    vcMessage1 IN VARCHAR2 );
    END pkgUtlFileTest;
    CREATE OR REPLACE PACKAGE BODY pkgUtlFileTest AS -- package body
    PROCEDURE isp_UtlFileTest ( vcDir IN VARCHAR2,
    vcFileName IN VARCHAR2,
    vcOpenType IN VARCHAR2,
    vcMessage1 IN VARCHAR2 ) IS
    -- vcDir is the utl file directory
    -- vcOpenTpye is the open type a = append, w = write or r = read
    -- vcFileName is any file name you want.
    -- vcmessage is the entry you want placed into the file
    vcUtlFile UTL_FILE.FILE_TYPE;
    BEGIN
    IF LOWER(vcOpenType) = 'a' OR LOWER(vcOpenType) = 'w' THEN
    vcUtlFile := UTL_FILE.FOPEN(vcDir, vcFileName, vcOpenType);
    UTL_FILE.PUT_LINE(vcUtlFile, vcMessage1);
    UTL_FILE.FCLOSE(vcUtlFile);
    END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    DBMS_OUTPUT.PUT_LINE('no_data_found');
    UTL_FILE.FCLOSE_ALL ();
    WHEN UTL_FILE.INVALID_PATH THEN
    DBMS_OUTPUT.PUT_LINE('UTL_FILE.INVALID_PATH');
    UTL_FILE.FCLOSE_ALL ();
    WHEN UTL_FILE.READ_ERROR THEN
    DBMS_OUTPUT.PUT_LINE(' UTL_FILE.READ_ERROR');
    UTL_FILE.FCLOSE_ALL ();
    WHEN UTL_FILE.WRITE_ERROR THEN
    DBMS_OUTPUT.PUT_LINE('UTL_FILE.WRITE_ERROR');
    UTL_FILE.FCLOSE_ALL ();
    WHEN UTL_FILE.INVALID_OPERATION THEN
    DBMS_OUTPUT.PUT_LINE('UTL_FILE.INVALID_OPERATION');
    UTL_FILE.FCLOSE_ALL ();
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('OTHER ERROR' );
    UTL_FILE.FCLOSE_ALL ();
    END isp_UtlFileTest;
    END pkgUtlFileTest;
    Here is the code to execute the stored procedure:
    Begin
    pkgUtlFileTest.ISP_UTLFILETEST('v:\hawkrpt','test.txt','w','This is a test');
    End;
    When the stored procedure is executed, the following error is returned:
    UTL_FILE.INVALID_OPERATION
    Can someone tell me how to get the UTL_FILE package to write a file to a network drive
    on a Windows NT server?
    Your help will be greatly appreciated!
    Mike

    Did you restart the database after changing the init.ora parameter? Make sure that you have this new value in v$parameter view.

  • How can we access a file that is on a mapped network drive.

    If I have a network drive that is password protected and is already mapped on a server(x.x.x.x) as R drive. And I have file called temp.txt on R:\Temp folder on the mapped network drive.
    How can I access it using file: using a client application running on that server.
    Thanks.

    ag2007 wrote:
    When I use it the above way I am getting the following exception:
    java.io.FileNotFoundException: \\network\share\Temp\temp.txt (Logon failure: unknown username or bad password).
    From the above I can say that I need to specify the username and password.
    Now my question is how do I specify the username and password in the URI?
    Thanks for the help.You don't. It is required that the user account running the code already has permissions to the directory in the first place.

  • 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

  • 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 :))

  • 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 to Time Capsule from WinXP Home with reconnect at logon

    I bridged my TimeCapsule on a wired home network. TC provides wireless(n/g) for a Macbook & Dell Laptop, print server, and storage. MAC & PC's all access internet; The Mac & PC's were able to find a reasonable driver for the printer (not a generic); and visibility to the TC and even Mac<-->PC (all on the same WINS Workgroup; file sharing/AFP/SMB turned on) working OK.
    I want to have a single drive letter mapped to a TC folder during a PC login. Using Windows Map Network Drive... I can supply \\server\share as my \\[mytimecapsulename]\[path to folder] and then I use "connect as different user" and supply the username/password as specified in the AirPort Utility setup for TC. Then I click Reconnect at Logon, and Finish. Windows is "happy" and the connection is made, applications on the PC that need the folder have access to the folder according the permissions on the TC. Sweet.
    Until, logoff and logon, and XP burps "not able to establish all network connections". Exploring MyComputer shows the Mapped Drive (but disconnected), double-click I'm prompted for username/password; enter it and I'm runnning.
    This seems to be a workaround, and I'd like to have the reconnect work seamlessly.

    Thank you Steve.
    I want to test my understanding. The TC password and the Windows login passwords should be the same. If there are more than one Windows users, then both of their passwords should be the same as the TC password?
    My understanding of "connect using different user name" is that I supply a username that the TC understands, i.e. the username/password set up in AirPort utility, and I would not supply any of the Windows accounts/passwords. This has worked for me. I supply the time-capsule-username/password not my Windows username and the Map Network Drive makes the connection. But it doesn't make the Reconnet at logon.
    So it sounds like what I should try is to change the timecapsule password to match the Windows account password of the windows user attempting to connect to the TC. Which means I'm limited to one password even if there are more than one Windows users attempting to connect.
    Sound about right? I'll try it out and let you know 6-12 hrs.

  • 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?"

  • 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

  • Mapping network drives after logging in to VPN

    We are having a problem where remote users login to their laptop with cached domain credentials using SSL VPN (the users are onsite but take their laptops home). Problem is they login to the VPN and their mapped drives don't work and they need to delete and remap their drives everytime they log in (we have to use FQDN to remap, example would be Jsmith1.anycompany.com). Any suggestions

    Hi, you can enable Start Before Logon (SBL) for AnyConnect client.With SBL enabled, the user sees the AnyConnect GUI logon dialog before the Windows logon dialog
    box appears. This establishes the VPN connection first. Available only for Windows platforms, Start Before Logon lets the administrator control the use of login scripts, password caching, mapping network drives to local drives, and more. You can use the SBL feature to activate the VPN as part of the logon sequence. SBL is disabled by default.
    1. Create user profile, then edit attribute, for example,settiing myprofile.xml file to true:
    <?xml version="1.0" encoding="UTF-8" ?>
    true
    To disable SBL, set the same value to false.
    You must also specify on the security appliance that you want to allow SBL. Take a look AnyConnect User manual,see the description in the section Enabling Modules for Additional AnyConnect Features(ASDM) or Enabling Modulesfor Additional AnyConnect Features (CLI) for a description of how to do this.
    Pls rate if it helps.

  • 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

  • Error reading mapped network drive

    Hi all,
    We have recently upgraded our test server form 4.6C to ECC 6.0.
    In one of the programs we are using open dataset to write files to
    application server. This particular folder had been mapped through "Map Network
    Drive function" in windows. The path we have given in the program
    as "<Drive>:\<Folder>\File Name".
    Code :
    <b>DATA : zdsnb(45).
    ZDSNB = 'R:\SAPPayroll\zpaysheet.prn'
    OPEN DATASET zdsnb IN TEXT MODE.</b>
    In 4.6C this particular format was reading without any problem. But
    after the upgrade, system is throwing an error "File cannot be read".
    We have checked the NTFS share rights and rights for the mapped drive.
    It's "Everyone" full access.
    Our OS: Windows 2003 server 64 bit
    Database : MS SQL 2005 64 bit.
    Most of HR related testing is based on this access. Pl suggest a
    solution, so that we can go ahead with our testing and upgrade of other
    servers.
    Regards,
    Adeeb

    Hello Adeeb,
    You need to make sure the user the R/3 system is using to access the file system (usually SAPService<SID>) exists on the target (the mapped drive) system.
    I know the folder is open to the all the users. But the user to access it will still be validated on the NT level to make sure this user exists.
    Regards,
    Joe

Maybe you are looking for