GPO not removing network drives

I have used a vbscript to remove the network drives that are currently connected on a users machine and then connect to the new drives on our new server. The script is fully functioning when run manually, but whenever I put it in a GPO the script seems
to skip over the part where it removes the other drives. I even placed that line of code before the mapping of new network drives in order to test that it's not getting caught up on that particular line and stopping but the rest of the file is still run and
all drives are mapped after that. Can anyone help me figure out why this isn't working?

Hi,
Using Group Policy Preferences, you can remove or replace the existing mapped drives for users using actions "Delete" and "Replace" respectively.
Delete - Remove a mapped drive for users.
Replace - Delete and recreate mapped drives for users. The net result of the Replace action is to overwrite all existing settings associated with the mapped drive.  If the drive mapping does not exist, then the Replace action creates
a new drive mapping.
Checkout the below link on Technet article for more information on mapped drive options using Group Policy preferences,
http://technet.microsoft.com/en-us/library/cc770902.aspx
Regards,
Gopi
JiJi
Technologies

Similar Messages

  • Finder will not search network drive

    I am connected to a network with my MacBook Air running Mountain Lion and when I attempt to search for a file on any of the network directories, Finder indicates it is searching, but no results are ever produced.
    Sadly, today I started up an old Windows laptop, went into Explorer and within seconds was able to find the document.
    Why won't Finder work on a network drive?

    The folder is not indexed by Spotlight. Open the Spotlight preference pane and check the Privacy settings. If the folder, or a parent folder, isn't listed, add it to the list and then remove it to rebuild the index.

  • FolderBrowserDialog does not show network drives on Windows 8

    Hi,
    On Windows 8 when we use FolderBrowserDialog, the network drives are not displayed. It works fine if we run the same program on Windows 7. Do you know if it's a Windows 8 restriction?
    Thanks.
    Olivier

    Hi,
    Ok, i know how to reproduce:
    - Create a Visual 2010 WinForms project targetting .NET 4
    - Remove the "Application.Run(form);" line and replace it by: "new FolderBrowserDialog.ShowDialog();"
    - Add a manifest file specifying to run with elevated privileges:
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
          <requestedPrivileges>
            <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
          </requestedPrivileges>
        </security>
      </trustInfo>
    1. If you run this program on Windows 8 Entreprise 64-bit, the network drives are not displayed.
    2. If you remove the <trustinfo> from the manifest file, then the network drives are displayed.
    On Windows 7 there's no problem, it always works, this bug is specific to Windows 8. I have tried to apply the latest available updates for Windows 8, it has no effect.
    Olivier

  • After Sleep, Moutain Lion will not find Network Drives

    Hi all,
    I've upgraded to Mountain Lion on my Late 2011 MacBook Pro 13 and all was well until I've noticed that after sleeping my MacBook will not find any network drives. I only noticed this since TimeMachine came up with an error that it cannot backup due to not being able to find the device on the network, my ReadyNAS Ultra 4 was powered on and TimeMachine backed up to it less than an hour before?
    I've tried an Alt Rt Click on Finder to Relaunch Finder but still my MacBook will not find any network drives until I reboot, or switch off WiFi and then turn it back on?
    Has anybody else come across this since the upgrade to Moutain Lion?
    My MacBook Pro is fully up to date and TimeMachine works well if the MacBook doesn't sleep?
    Many thanks in advance, Jon.

    Surely it's not just me that is experiencing these issues? The latest update mentioned some networked drives but still i'm experiencing the same issues after sleep. If I reboot fine, but not after sleep?
    Can anybody help??
    Jon.

  • Windows 7 will not recognize network drive on airport extreme

    Good day.  I created a network drive using a WD my book 1tb hard drive.  I formatted it to fat32.  Windows 7 does not see the hard drive, but the WD software can find it and the apple extreme router can also see the hard drive.  Any help would be appreciated.  Thanks

    Hi 2pfspiff,
    To verify if you can connect to the drive at all, you may want to try to manually mount it from the Windows machine. The following article has some generall steps for mounting an Airport Extreme USB hard drive under XP and Vista, but the steps should be similar under Windows 7.
    AirPort: How to mount an AirPort Extreme USB hard disk volume in Mac OS X and Windows
    http://support.apple.com/kb/ht1331
    Cheers,
    - Brenden

  • Disk utility does not see network drive

    I am trying to partition two NAS; however, they do not show up on disk utility but only the internal HD and a second external drive connected with USB.
    I would appreciate ideas how to resolve this problem
    Thanks

    The Disk Utility isn't supposed to list network drives in its sidebar. Network drives can only be partitioned through disk images or software provided by the drive's manufacturer for that task(if any).
    (61436)

  • Re: Any overclock of MSI X99S SLI Krait removes Network Driver

    Reviews were sketchy about the OC genie and recommended a manual overclock. However, I did both. It is removing the device all together.

    Greetings all,
    I recently purchased an SSD to install in my GT72 notebook.  As I am now attempting to install that new drive, I&#39;m having serious problems getting the screws out.  Anyone have any advice?  Maybe a particular screwdriver set they recommen...

  • Network drives counted in internal drive??

    I Use an iMac 27 with Maverick. After a recent external hard drive crash I installed a 2TB Time Machine as my replacement external drive to hold photos. (This is not a Time Machine question). Having recently cleaned up my internal drive that was nearing its 1TB capacity I was surprised to see it full again. Then I noticed my new network drive is showing up under the Mac main drive. it appears it's counting the new drive toward the 1TB capacity.  I started downloading my lost files from the cloud and as the new network drive added data the capacity of my 60% internal ran to 100%. Any ideas how to get my internal mac drive not to count the network drive?

    Eric, I've tried your suggestion regarding Spotlight but not sure if I am seeing results.  In Spotlight Privacy I can add the shared folder called "Data" (has three men icon on the folder) on the external network drive but whether I add it and remove it (as suggested by the link you sent) or add it and leave it on the list  (so that Finder doesn't search there) I still get the full Macintosh HD - 995GB.
    I've also been trying to use OmniDiskSweeper to locate large files but when I show the list of drives to sweep, it lists Macintosh HD and my other external drives but not the Network drive. Yet when I open the Macintosh HD to sweep, it lists the shared drive as one of the Volumes of the Macintosh HD but it doesn't list the other external drives under the Mac HD - only the network drive shows as part of the Mac HD.
    I noticed at one time that the new external drive had an eject symbol next to it in Finder like my other external drives and now it doesn't show it.  I tried to "disconnect" the external but it still shows on OmniDiskSweeper and I'm thinking its in the total of the Macintosh HD as it shows as a Volume in OmniDiskSweeper.
    I'm wondering if a Time Capsule can be used for anything but Time Machine as it doesn't seem to want to cooperate as an external drive.

  • HP Photosmart C5580 , I need a network driver for windows 7 64 bit.

    hello all  ,
    this is the only driver supplied by HP for my printer and Windows 7 64bit :
    ftp://ftp.hp.com/pub/softlib/software11/COL30128/mp-74904-1/PS_AIO_04_C5500_NonNet_Full_Win_WW_130_1...
    as you can see it is listed as "NonNet" and as it is such I am unable to print from ANY other computer in my house , I have been trying o solve this for months , Complete reinstalls of drivers (hundreds of times) and complete reinstalls of Operating systems , this will not work.
    (also , the only OS's supported under this drivers listing are the Windows 7 family only , could this be the problem?)
    What I have running now:
    Main PC , Windows 7 64bit ( the printer is installed here with above and only driver , all software and buttons work and prints as it should)
    XP MCE Laptop (sees the printer , installs it , shows it as ready , will NOT print)
    Vista Ultimate 32bit ( sees the printer , installs it , shows it as ready , will NOT print) 
    Vista Home Pro (sees the printer , installs it , shows it as ready , will NOT print)
    I am at a total loss other then this driver just is not right , maybe because its not a network driver??  I don't know but I am out of things to try , I have tried adding the port , finding the printer through the ip yada yada on all the PC"s , nothing works
    PLEASE if anyone has an answer or direction for me to go , please help.
    thanks , have a wonderful day.

    I'm not on a wireless netowrk , I have a fully wired network...still no printing (from other computers) if the C5580 is hooked to my Windows 7 64Bit PC
     I had to put the C5580 printer and drivers on one of my Vista PC's (in another room) and now all the PCs (even the windows 7 64bit) prints to that pc , the ONLY problem with that is I need that printer/scanner on my Windows 7 64 PC and need the other PCs to print to it , because I need the scanner and software in here.

  • USB Drive thinks it's a network drive in Virtual PC

    For some reason my brain damaged USB HD, which is formatted under Windows and which I use as a 'mule' to move files to and from my office PC and my home Powerbook, thinks it's a "Network drive" when I boot up Virtual PC. Hence, it can't be reformatted or erased or even seen by Windows' Computer Management utility...it has suddenly become virtually useless.
    It is supposed to display in Windows as a USB HD, NOT a "Network drive". Something is brain-damaged; either the Windows NT system, or Virtual PC, or the Mac....and, of course, I am now brain damaged, too, from attempting to do anything with Windows on a Mac!

    Since VPC is not an Apple product, you'll get better response if you use a forum dedicated to Microsoft's Mac products such as <http://www.microsoft.com/mac/community/community.aspx?pid=newsgroups> rather than an Apple forum.
    Be sure to search the forum first in case someone has already had a similar question answered. You'll get your answer faster this way. Post your question in the forum if you don't find anything that helps you.

  • Check In/Out doesn't work on network drive?

    My company has used DW's check in/check out functionalities just fine for years, but before now the local copies of a site's files had been stored on each user's Mac's harddrive. I've been working on relocating those local copies to a single network drive that everyone can access so we're all working from the same local copies; most everything's going great except it looks like the check in/out functions are no longer working. It looks like the only indication I can see now in the FTP view is a green check on the remote files pane when something's checked out– the local copies don't show lock or check icons any longer.
    Given that the only change has been moving the local files over to the network drive, I have to assume DW's check in/out (or at least however I have settings set now) doesn't play nice when the local files live on a network drive. Has anyone run into this issue, and is there a fix for it?
    Thanks,
    J

    @Zabeth69:
    Yep, a new site definition's been set up and I've double-checked that the "local files" setting is pointing to the shared network server as the new local folder.
    @Nadia-P:
    At first I didn't think that link had anything that I didn't already know, and then saw these two bullets:
    •  The local root folder for this defined site must be on the local hard drive of a workstation.
    •  Your local root folder should not be shared or on a mounted drive.
    So in short, I suppose those answer my question, but they don't actually say *why* that is– it's hard to believe that the checking feature is limited to a literal local drive, and not a network drive. Seems odd. I'm going to poke around some more and try and figure out why that is, but I'd be grateful if anyone happens to know why in the meantime...
    J

  • Offline files on a network drive

    I am using PSE7, and have made the stupid decision to put all my pictures and catalogue on a network drive.
    In addition I have changed the network name from:
    \\sda\kanolsen to \\ubuntu\ntfs which means that the files are now offline. (nothing of this was made in PSE).
    I have read all I can find on the subject but can't fix the problem.
    What I want to do is cover my losses and move the files to my desktop and only access them from there.
    How do I do that when they are offline?
    I have tried the following:
    1. Have tried the file - move command via display - show folder location.
    It doesn't show any pics in the offline folder (or any other folder for that matter). http://graphicssoft.about.com/od/pselements/qt/replaceproxy.htm
    2. I have tried the different tips"Quickly reconnecting large numbers of photos"
    3. When trying to reconnect files I get an error message saying that it can't reconnect since the process is locked or something.
    None of them works. Now I have made the PSE7 files corrupted for the second time (fortunately I recover them from a backup).
    But with over 14000 pics I am getting VERY nervous I won't be able to do the move and have to do everything from scratch (which I cannot practically do).
    ANY help would be very appreciated.
    Kanolsen

    Hi
    I found a way round this as I had the same issue.
    Backup the catalog file first!
    Download and run black cat SQL manager (as this understands the database format)
    Use this to open the catalog file (catalog.pse7db)
    Open the table in the catalog database called volume_table
    edit the type field against your network drive to read "builtin_drive" instead of network drive
    You can now use an automatic reconnect strategy as this fools PSE into thinking its not a network drive, as in
    Reconnect an entire folder tree all at once. If you’ve moved an entire tree of folders and they’re now disconnected, you can persuade PSE to reconnect them all quickly.
    a.       In Edit > Preferences > Files, select the option Automatically Search For And Reconnect Missing Files.
    b.      Do File > Reconnect > Missing File to reconnect one file manually.
    c.       Do File > Reconnect > All Missing. PSE will start searching “near” the folder containing the missing file you reconnected in step b, and it will usually find all the missing files within a couple of minutes of searching.
    d.      If step c doesn’t find all the missing files, or you’re impatient, you can explicitly tell PSE where to search:
    i.                    Do Help > System Info and write down the folder location of your catalog.
    ii.                  Exit PSE.
    iii.                Use Windows Explorer to navigate to the catalog folder.
    iv.                Open the file “rmf.3.cache” in Notepad. This file was created in step b above. It contains the most recent folders in which you reconnected files (“rmf” = “reconnected media folders”), and the Reconnect command always searches these folders first before scanning the rest of your drives.
    v.                  Delete all of the contents of the file and add a single line containing the full path of root of the folder tree containing your photos. For example, if you moved the folder tree to E:\data\photos, add that as a single line to the file.
    vi.                Save the file.
    vii.              Restart PSE and do File > Reconnect All Missing again. It should first search the folder tree you provided in step v.

  • How to disable smb network drive failure to connect warning

    Hey,
    we have a number of users using os x machines to connect on our domain, all of them have network drives configured via connect to server option smb://etc/etc
    When the user is docked into the network they login just fine, obviously if they are no on the network the drive will not connect and during login they get a pop up saying connection to server failed etc etc.
    Is there a way to disable this pop up ? had a number of cases this message will pop up and cause issues with login or just fail. 
    I do not want to demap it , I just want the message to go away as these users are highly mobile, on off the network multiple times a day.
    Or is there a better way to map this drive/server ?
    Thanks
    GV

    Thanks, but why would backuping a USB drive work and not a network drive ? I don't see much difference but maybe I'm missing something.
    Is there a plan to implement that feature ? I mean Apple is offering the capability of plugging external drives into the time capsule and airport extreme, so why aren't these included in the overall scheme of backing up ? Sounds weird to me.
    Also, could you please point some "hack out there" cause I didn't find any.
    Thanks!

  • Can a network drive appear in the event library?

    Is it possible for medias to remain on an external network drive?
    This will allow to moove events away from the internal Hard drive that is getting very full.
    At the moment, I have the target drive as a shared drive in finder and I can access it when importing. But it is not showing in the event library.
    Is there a setup to do?
    Thank you very much for your help

    AFAIK FCP X supports SAN, but does not support networked drives in general.
    One possible workaround is to create a disk image in the network drive. If you mount the disk image using the Finder, it will appear to FCP X as if it were a local disk. It can be used to store events and projects. Of course, you should make sure that the network is fast enough - which should be ok, provided that it is gigabit ethernet and with little extra traffic.
    So, the idea would be to create a sparse disk image - make it as big as you like (being sparse means it can be created as, say, 300GB, but won't occupy drive space until you actually add content to it),  format it as mac os extended (journaled or not). Mount the disk image. Start FCP X.
    Be extra careful with backing things up, as this creates another possible failure point, as sometimes disk images can get corrupted (all the more likely, as they are being written over the network).
    One other point: if you quit and restart FCP X, it will try to remount the disk image. If, in some instance, you don't want that to happen, you should option-Quit ("Quit and discard windows"). Then FCP X will not auto-remount the image in the next start.

  • Removing mouse driver from system preferences, other...how?

    In system preferences, other, how do you uninstall items? I have read in this forum that if you right click and choose "remove (xxx) preference pane" it will uninstall it. If remove doesn't uninstall it, exactly what does it do?
    Is it that simple? I am trying to remove a mouse driver.
    thanks
    bob

    I'm afraid I don't follow you. Each component can be individually deleted. But as I said removing the preference pane (in any way) will not remove a driver located in the Extensions folder (if there's a driver involved.) Likewise removing a driver will not remove a preference pane. This is why you should use the uninstaller that comes with the software you are using (which you haven't mentioned.)
    For general help with uninstalling software see:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

Maybe you are looking for

  • How do I get my Exchange "home" addresses to show up in Contacts?

    I synch my iPhone contacts from my work Exchange Server.  Ever since I upgraded to IOS7, I cannot see any "home" addresses for my contacts.  All I can see is "work" addresses for each contact.  All phone numbers and e-mails are fine.  It's only cause

  • My built-in iSight is not being recognized by my MBP?

    All of a sudden my MBP  Processor  2.66 GHz Intel Core i7 is no longer recognizing the camera. Any idea why, or what I need to do to get it working? Thanks.

  • Singol Thread Error (STA) when open script by powershell

    hi everyone. this is my script: [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") function global:stamp(){ param([string]$string) $string=$strin

  • SQL Advanced Functions

    Hi, Can any one suggest me site for the advanced functions of SQL Like measure, dimension by, rules(), dense_rank,dense_rank over partition by, etc..

  • Never-ending Installation with Belle

    I have an installation of "DataWatch" from the Nokia Store that initially failed when my phone lost service in the middle of installation.  Nothing I do seems to stop it from showing installation in progress in the store "says 'Installing.'   I've tr