Share drive mapping.

Hello,
I have 300 users that require several ( 45 different) share drives mapped to their computers. Problem is not all of them need all the shares. I was thinking about setting up a logon script to do it but, I wanted to check if there is any other simple way to
do it. Long day I ran out of Ideas.
I hope someone can give me a hand with this doubt.

You cannot map more than 25 shares.  There are only 26 letters in the alphabet.  It is assumed that you have at least a 'C' drive which leaves, at most, 25 letters.
In modern Windows we normally do not map shares.  All modern programs are required to read and use UNC paths.  Mapping to a drive became obsolete with Windows 2000.  It has been retained for two reasons.  Simplicity and support for legacy
programs.  Almost none of these programs will run on Vista and later so drives are unnecessary most of the time.
¯\_(ツ)_/¯

Similar Messages

  • Problem mapping share drives

    Hi everyone:
    One of my user have problem with mapping share drives.  He was able to map the drives before; but one day it started failing.  When manually run a script to map it (on the client side), it have no problem and work fine.  I updated the
    NIC driver, tried to clean up all the mapped drives every time it logon (put a delete command in the logon script) and postpone the mapping for 30 second to wait for the windows fully function (put timeout command in the logon script). 
    All does not work.  Anyone have any idea or suggestion?  Thank you in advance.

    If the password protected sharing is OFF, please edit the ACL of these drive you want to share, then give everyone group read permission and test the results.
    Also, specify the exact error.
    Arnav Sharma | Facebook |
    Twitter 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.

  • NAS200 loses User Listing - prevents network drive mapping and display of shares

    I haven't seen this posted -  my NAS200 has been bullet proof Since Dec 2007 when I got it -  has the latest firmware, but lately I lose the drive mapping to thios unit - I cn open the admin console and login but when displaying the user list, I see Error: Cannot find number of users. I al;so see no shares as defined. I have recycled and get this to work for a while but it eventiually (10 min to 2 hours) loses connectivity. I'vwe enabled and disabled guest accounts and other features in options. Anyone have any ideas? Is this syptomatic of a firmware issue or other problem. The disconnect is now very  consistent but just started in the last few days.

    Since no one sems to have any responses - I'll report that I've reset this device many times - it always works for a while then exhibits this behavior - I can access the unit via web and it shows 'error - no users defined' -  share mapping reports similar issue 'no users defined'. This seems to be a result of the firmware 'losing' its user information, causing the drive to disconnect (even using the 'admin' user). I thnik it might be due to a heat problem - after it runs for a while it heats up -  the top drive noticably more than the lower drive. My problem was using Raid 0 so I need the drives right where they are. So far over two weeks I've transfered quite a bit of data using a sync tools to minimize duplicaitions and recopying files. This is slow but I've made progress. I let the drives cool overnight for example last night, restarted this morning, copied 4000 plus file (about half of one directory), and using logging can see that it then failed to find the share/files  at the halfway point, so its off for the moment. Resets, etc don't help. I've had this since 2007 so its out of warranty but I'm still guessing one of the drives is going bad or the unit is heating on its own and the heat contributes to the firmware failure .... any input Junior Specialists?

  • Drive Map to DFS Folder Getting Lost

    We had a problem yesterday morning with every user (about a dozen) in one of our small branch offices being unable to access a certain network share.
    Their T: drive, which is the one they had a problem with, is mapped to this:
    \\domain.com\namespace\OfficeShare1
    which is a DFS folder that simply points to:
    \\2012FileServer\OfficeShare1
    That is a Server 2012 R2 server.
    This share is only a few weeks old, and has been working fine for them until today. We have other offices that have their own shares on the same server, and mapped to a DFS folder the same way, and those have been working OK (as far as I know).
    The PCs are all running Windows 7.
    Their S: drive is mapped to
    \\2003FileServer\CompanyShare
    which is a MS Server 2003 server. They had no problems with accessing this, ever.
    Going to Computer > Map network drive, I could see the label for \OfficeShare1 was still attached to T:, but the path was empty. The T: drive appeared in the Computer window, but was showing as disconnected, and double-clicking it would throw an error about
    the path being unavailable.
    Typing \\domain.com\namespace\OfficeShare1 in the address bar would cause the Computer window to hang before erroring-out. Thus, re-creating the drive map would not work.
    After trying that, a user could go to \\domain.com\namespace and that would work fine. From there, they could go to the \OfficeShare1 folder without any errors.
    If they then went back into Computer, their T: drive would again be working, without having to re-create the mapping.
    Also, even though users couldn't browse directly to \\domain.com\namespace\OfficeShare1,without first browsing \\domain.com\namespace, they could browse directly to \\2012FileServer\OfficeShare1.
    I've seen a few other users outside the aforementioned office who had the issue, but this is the first opportunity I've had to get more information on it before the client PC was rebooted. Some of those users who have had this issue, also have an X: drive,
    which is mapped to:
    \\domain.com\namespace\DeptShare1
    But this is a CIFS share. And like the share on the 2003 server, no user has experienced the issue with this share.
    It has only happened with the shares on the Server 2012 system. And it has been kinda rare (currently less than 75 users who could potentially experience it).
    All drives are mapped via Group Policy. Users do have a script they can run to re-create drive maps.
    It's probably some connectivity issue that causes the drive to get disconnected (wifi signal drops, VPN gets disconnected, etc). But I'm not sure why the problem persists after connectivity is restored, why the path disappears from the mapping, and why only
    with this one drive. The servers hosting those shares are all in the same subnet, same data center.
    I'm about to migrate about a share accessed by 500 users to this 2012 system, and I can't until I get this figured out. My hunch is that something in the Windows 7 client PC is getting... lost. It's only happening to drives that map to DFS folders in that namespace
    that point to shares on that 2012 server (no one has a drive that maps directly to the shares on that server). The share itself doesn't appear  to actually go offline or anything like that. And this morning is the first time I've seen it happen to multiple
    people at once.
    Weird.
    Any help is appreciated.
    Thanks!

    Hi,
    Is there any error message in the Event Log? Do you add more than one namespace server in the DFS namespace? Since the server hangs when you access the DFS link, you could refer to the article below to establish connectivity with the target computer and shared
    folder.
    Troubleshooting Dfs Problems
    http://technet.microsoft.com/en-us/library/cc962144.aspx
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Creating a new folder and drive map with Preferences

    So I am trying to set things up using GPP so that users of a particular security group get a U:\ drive at the following location:
    \\server\share\%username%
    I have set up the drive map preference & also a folders preference (to create the user's folder).  The problem is that it works BACKWARDS and the drive tries to map prior to folder creation and thus fails, THEN the folder gets created.  So
    that the 2nd time the user logs in they actually get the U:\ drive at the correct location.  The goal is to have the folder created and mapped to on the 1st try for the user.
    How can I get this working WITHOUT resorting to scripts, folder redirection, or manually setting the U drive on the AD Profile?  I just want that folder to be created for only users in the proper security group, and then have the drive map
    to it.
    # When I wrote this script only God and I knew what I was doing. # Now, only God Knows!

    > How can I get this working WITHOUT resorting to scripts, folder
    > redirection, or manually setting the U drive on the AD Profile?  I just
    > want that folder to be created for only users in the proper security
    > group, and then have the drive map to it.
    You cannot. The execution order of GPO parts (called Client Side
    Extensions) cannot be changed, so you're stuck with this error if you
    don't resort to a script :)
    Greetings/Grüße,
    Martin
    Mal ein
    gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me -
    coke bottle design refreshment (-:

  • Drives mapped via GPO, NET USE shows mapping but doesn't show up in Explorer - Win 8.1

    Fresh install of Windows Enterprise 8.1
    Connected PC to domain, logged in, drive mapping worked as it should.
    Rebooted a few times after installing software that I normally install on my computers (from the same sources/locally from my file server, etc).  Rebooted a few more times all is well.
    A few reboots later, the only drive that is mapped is X: which is my user drive done via the user profile in AD.  The rest of the mappings that normally show up done by the GPO no longer show up.
    After some digging, and noticing no errors in any logs I ran NET USE in a CMD prompt window, low and behold the drives are actually mapped and I can access them via the CLI without issue.  I can navigate via their mapped drive letters, etc.
    They just don't show up in Windows Explorer at all and I cannot navigate to the drive letters via the address bar.  Strangely enough, it still kinda works since the Downloads start menu item is mapped to a network drive and that still works (Q:\) and
    Chrome can access it as well if I try to download something.
    I'm really not sure what else to check/try here. 
    Have other Windows 7 and Windows 8.1 machines (my laptop) and all works just fine, so it's only this specific install on my desktop that is showing this issue.

    Hi,
    There are several reasons causing the issue:
    First, The problematic client doesn't reconnect to the target share at logon. 
    Please follow the steps to re-configure the mapped driver on the client and then check if the issue will re-occur.
    Steps:
    a. Open "My Computer"
    b. Click on "Tools" and then select "Map Network Driver"
    c. input the \\ipaddressofserver\sharename to give the path of the share
    d. Check "Reconnect at logon"
    e. Drive gets mapped
    f. Double click on the drive to check.
    Second, Antivirus software or Windows Firewall may block the mapped share.
    If there is any Antivirus software and the Windows Firewall is enabled on the problematic client. If so, please disable them to check if the issue can be resolved.
    Third, Fast Logon Optimization is enabled on the clients.
    The fast logon feature may affect the display and drive letter assignment of a mapped network drive. As a result, the drive may have been mapped; however, the user on client cannot see it in Windows Explorer. He may recognize it as a failed network drive
    mapping. This is the reason why we usually suggest you to disable fast logon on the clients via a GPO, and please check if the mapped network drive will be occur under this circumstance.
    Please also configure the following group policy setting to disable Fast Logon Optimization to see if the issue still exists on the problematic clients.
    Computer Configuration\Administrative Templates\System\Logon\Always wait for the network at computer startup and logon
    If we cannot get this issue fixed, please post back the event log related to this issue.
    Kate Li
    TechNet Community Support

  • Client Drive Mapping (Windows) not working in SGD 4.6

    I've upgrade your sgd 4.5 to 4.6. Currently we are using Virtual Desktop Connector 1.0 with VMware.
    Now I'm ran into a problem with client drive mapping for Windows. CDM has changed in 4.6 from smb to rdp-protocol. So there ist no need for the Enhancement Module on the client.
    CDM works well with Windows Server 2003 R2 Terminal Services, but not with Windows XP SP3. In XP there are not clientdrives in explorer. Opening \\tsclient I can see the clientdrives e.g. +\\tsclient\F (rw)+. But when I try to open the folder I get an error, telling me that I didn't have enough rights to access this share.
    This happens with a regular VDI-VM (in domain) and to a fresh standalone VM. Also a direct rdp-connect to the vm from Win XP and Win 7 Remote Desktop Client works (local drives are mapped).
    Is there any known problem with sgd 4.6 cdm and win xp?
    I didn't find any error in the logfiles, but perhaps I didn't look in the right logs. :-)
    Thomas

    We've just encountered this issue on a SGD 4.6 & Oracle VDI 3.2.1 deployment (XP Desktops), disappointed because we moved from 4.5 to 4.6 due to the expired Verisign cert therein.
    Connecting to a 2008R2 Domain controller is fine, no problem and drives mapped as expected.
    Have logged a service request, hopefully I've missed something obvious.

  • Drive Mapping not showing up in Explorer Drive Listing

    Hi, I am having a strange problem.
    I have a unc path that I want to map to and everything works fine.
    Apart from one user.
    When I try to map the drive under the probmatic account, I cant see anything in my drive list.
    I can go to Computer and map the location by using the Map Network Drive button. (This works fine and the mapping appears.)
    But the mapping doesn't appear if I use Net Use. (It says the command completed successfully but it doesn't show in my drive listing)
    I have added the account to the local administrators group and turned off UAC.
    It's really strange.
    I need it to be able to map using Net Use because I have a batch file with a command in.
    Have you come across anything like this?

    Hi,
    No multiple connection to the share using the same credentials. It's basically saying that I can't connect to the share as more than one instance of the same user.
    But it's showing that no sessions exist. It's like it's not cleaning up the connections properly when you close them.
    I have found some other articles.
    This post sounds similar to what I am describing. It's from the following thread
    http://social.technet.microsoft.com/Forums/en-US/4b736ba5-268a-4dcb-a3ee-cc2abff0bb01/issue-with-group-policy-drive-mapping?forum=W8ITProPreRel
    Run command "net use" in command line with administrator privilege and see if the drive is mapped.
    If you can see the mapped drive in the result of net use but cannot see it in Windows Explorer, the issue may be caused by UAC. Are you the domain adminsitrator?
    Similar issues occurred since Windows Vista. See:
    http://technet.microsoft.com/en-us/library/cc766208(WS.10).aspx
    It said:
    UAC may prevent Group Policy logon scripts from appearing to work properly. For example, a domain environment contains a GPO that includes a logon script to map network drives. A nonadministrative user logs on to the domain from a Windows Vista computer.
    After Windows Vista loads the desktop, the nonadministrative user starts Windows Explorer. The user sees their mapped drives. Under the same environment, an administrative user logs on to the domain from a Windows Vista computer. After Windows Vista loads
    the desktop, the administrative user starts Windows Explorer. The user does not see their mapped drives.
    When the administrative user logs on, Windows processes the logon scripts using the elevated token. The script actually works and maps the drive. However, Windows blocks the view of the mapped network drives because the desktop uses the limited token while
    the drives were mapped using the elevated token.
    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. ”
    <input id="1f32e2ec-e0e3-481d-90b8-7fcc52f488fa_attachments" type="hidden" value="" />                
    Marked as answer by                            
    Arthur Xie<abbr class="affil">Microsoft contingent staff, Moderator</abbr>                        
    Friday, June 29, 2012 9:15 AM                    
    Unmarked as answer by                            
    GraffitiK<abbr class="affil"></abbr>                        
    Wednesday, December 19, 2012 3:58 PM                    
    Thursday, June 07, 2012 6:48 AM
    Arthur Xie
    Arthur Xie
    MSFT CSG
    32,950 Points               
    12               
    4               
    2                       
    Recent Achievements           
    New Gallery Rater                                           
    Thread Mover II                                           
    Proposed Answerer I                                                           
    Arthur Xie's threads                               
    View Profile           
                                        (MSFT CSG)                               
    32,950 Points               

  • Problems with drive mapping

    We have changed the server of linux that supports tarantella. We have
    installed tarantella on redhat 8 and worked perfectly. I have installed
    the tarantella enhancement module for windows and activated in the array
    manager the option " let users access client drives " but on having
    entered the session of windows not does not appear the local hard disks.
    There is something more than I have to do in order that me it works? Thank
    you for yours help

    Carmelo wrote:
    The problem is
    18:32:27 : 00007219: javi : Add device failed with ERROR_BAD_NETPATH
    You may want to enable WINS per
         http://www.tarantella.com/documentation/sgd/ee/3.42/help/en-us/base/standard/am_array.html
    -> Client Drive Mapping: Use WINS for better performance
    Regards,
    Javi wrote:
    Carmelo,
    I have verified that is running cdm, besides I have verified also that
    from the windows servers solves perfectly the name of the redhat server.
    I write you the mistakes that me appear in the log of the ttadm, for if
    you know which is the mistake. Thank you very much
    18:32:21 : 00000453: javi : URI file Drive A for Administrator
    18:32:21 : 00000453: javi : Share = \\medea\Drive A for Administrator
    18:32:21 : 00000469: javi : Packet >> Packet nLength 5
    18:32:21 : 00000469: javi : General options flags 8
    18:32:21 : 00000469: javi : Alternative name = V:
    18:32:21 : 00000469: javi : Packet >> Packet nLength 3
    18:32:21 : 00000469: javi : DEVICE_CLASS_FILESYSTEM
    18:32:21 : 00000469: javi : device flags 2
    18:32:21 : 00000469: javi : Device info : Dos name = , search = 1,
    searchUp = 0
    18:32:27 : 00007219: javi : Trying alternate device V:
    18:32:27 : 00007219: javi : Failed to add device to V:
    18:32:27 : 00007219: javi : Add device failed with ERROR_BAD_NETPATH
    18:32:27 : 00007219: javi : failed to add device
    18:32:27 : 00007219: javi : WTSVirtualChannelWrite returned 18 bytes
    18:32:27 : 00007219: javi : 0x0042a160 01 10 00 00 00 10 00 00 00 01 01
    00 00 00 00 00 ................
    18:32:27 : 00007235: javi : 0x0042a170 00 00 ..
    18:32:27 : 00007235: javi : ServerChannel::isDataAvailable
    WTSVirtualChannelRead returned 176 bytes
    18:32:27 : 00007235: javi : 0x0042a7a4 00 b0 00 00 00 11 00 00 00 01 00
    43 19 00 44 72 ...........C..Dr
    18:32:27 : 00007235: javi : 0x0042a7b4 69 76 65 20 43 20 66 6f 72 20 41
    64 6d 69 6e 69 ive C for Admini
    18:32:27 : 00007250: javi : 0x0042a7c4 73 74 72 61 74 6f 72 09 00 00 00
    00 00 00 00 01 strator.........
    18:32:27 : 00007266: javi : 0x0042a7d4 5c 00 00 00 25 00 73 6d 62 3a 2f
    2f 6d 65 64 65 \...%.smb://mede
    18:32:27 : 00007266: javi : 0x0042a7e4 61 2f 44 72 69 76 65 20 43 20 66
    6f 72 20 41 64 a/Drive C for Ad
    18:32:27 : 00007281: javi : 0x0042a7f4 6d 69 6e 69 73 74 72 61 74 6f 72
    00 00 00 00 01 ministrator.....
    18:32:27 : 00007281: javi : 0x0042a804 2c 00 00 00 14 00 59 57 52 74 61
    57 35 70 63 33 ,.....YWRtaW5pc3
    18:32:27 : 00007297: javi : 0x0042a814 51 35 4d 44 41 33 4f 44 45 3d 14
    00 55 6b 64 42 Q5MDA3ODE=..UkdB
    18:32:27 : 00007297: javi : 0x0042a824 50 54 4a 57 55 44 59 77 4d 43 73
    79 57 53 45 3d PTJWUDYwMCsyWSE=
    18:32:27 : 00007313: javi : 0x0042a834 14 00 00 00 05 00 00 00 08 00 01
    00 56 03 00 00 ............V...
    18:32:27 : 00007313: javi : 0x0042a844 00 02 00 00 00 00 00 00 00 00 00
    00 00 00 00 00
    18:32:27 : 00007328: javi : TTDMServer::process messagecode 0 deviceid 17
    Carmelo wrote:
    Javier,
    What version of Tarantella are you running? The reason I ask, is that
    since v3.30 you also need to run
         $ tarantella start cdm
    Also see
    http://www.tarantella.com/documentation/sgd/ee/3.42/help/en-us/base/standard/cdm.html
    >>
    >>
    Regards,
    Javier wrote:
    We have changed the server of linux that supports tarantella. We have
    installed tarantella on redhat 8 and worked perfectly. I have installed
    the tarantella enhancement module for windows and activated in the array
    manager the option " let users access client drives " but on having
    entered the session of windows not does not appear the local hard disks.
    There is something more than I have to do in order that me it works? Thank
    you for yours help
    If you are using WINS the problem appears to be one of WINS name mapping.
    Check if the Tarantella server is not on the same subnet as the Windows
    Terminal Server that you
    are using to run your Windows applications.
    You need to add the Tarantella server to each of the Windows Terminal
    Servers as a WINS server.
    After that you may need to restart the Windows terminal Server.
    Hope it helps.
    Regards,
    Gonzalo

  • Active Directory Integration and Drive mapping

    We currently have a lab with 20 Mac Pro machines, and an Xserve.. all running 10.5+. We are looking at integrating the existing users, through AD, into the Xserve. We have been able to do simple authentication and drive mapping to the windows share easily enough. However what we would like to be able to do is mount a share from the Xserve for only the Macs for the students that will be in there, while keeping the Home directory from AD intact and still being mounted.
    Is that possible or I am going outside of what I am able to do?
    Thank you

    If I understand what you are asking, then you will need to bind the Xserve to AD, then promote it to an OD master. This will allow you to manage the AD groups without schema modification to AD, basically allowing the storage of Apple MCX attributes. You can then create a group in OD and add the AD group to it. Then, manage the OD group and set login preferences to automount a share. Check the box to allow unique user credentials to be sent. Since you are in a Kerberos/Single sign on environment, you will be able to pull this off very easily.
    During the workstation bind, make sure the UNC home path option is select and that you are choosing the correct protocol (SMB or AFP). That will allow the AD defined windows home folder to mount. Then follow the OD MCX stuff above to handle the mount of the share. You might also want to look into augmented records if you need to get management to the user level. I've had no need for this yet so I've not used it. Manage by nest AD group has always been enough because everyone gets the same stuff.
    Hope this helps

  • Create GPP drive mapping entries programmatically

    Can anyone provide any sample codes that creates drive mapping entries in group policy preference? I am not looking for script to create the GPO, I am looking for codes to create mapping entries inside it instead. I've been searching for MS document
    but found nothing so far.
    Specifically I am looking for codes that can create entries using item level targeting criteria as below:
    - OS type
    - session type (RDP vs local console)
    - user group membership
    Any pointer is appreciated.

    Also you can use.
    $Network = New-Object -ComObject "Wscript.Network"
    $Network.MapNetworkDrive("P:", "\\MyComputer\MyShare")
    or
    net use Z: \\server\share /persistent:yes
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/160d2ed5-6917-4593-a1ca-be3e8b808882/how-to-map-a-network-drive-persistent-using-powershell-v2?forum=ITCG
    Regards~Biswajit
    Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.
    MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
    MY BLOG
    Domain Controllers inventory-Quest Powershell
    Generate Report for Bulk Servers-LastBootUpTime,SerialNumber,InstallDate
    Generate a Report for installed Hotfix for Bulk Servers

  • Looking for clarification on network latency issue vs drive mapping

    Hi,
    I am seeing this as mystery and not getting crystal clear idea on the reason for the issue. Issue is related to the performance of the application interms of time it is taking in processing the input file.
    I wrote a swing application, which is a client application. Which takes some parameters like server name and iphostaddress and connects to the Process Server which is, responsible for processing client application requests. Client application will communicate with process server through TCP/IP connection and process the input file and returns the decisions back to the user through the output file.
    Below is the scenarios I am using for launching the application:
    1. If both client application and server are running locally in my desktop the time it is taking to process the input file is 2 minutes.
    2. If client is running my application and server is running remotely on wondows server, it's taking 13 minutes to process same input file.
    3. To reduce the time in scenario2, I installed the client appliation also on the remote server ( so that both client and server application are running on the windows server). and mapped the server's share drive to my desktop. And launched the application from my desktop (from U drive, where application is mapped), now it's taking 10 minutes to process the same input file.
    I am struggling in understanding why it's taking that long in scenario 3. Because application is installed locally on the server and input file and output files also copied onto the U drive. Sometimes thinking am I launching the application in the right way or not?
    Can somebody explain me, if we launch the remote java application through drive mapping will there be network latency there eventhough everything is there on the server (U drive)? Here I need to tell one more scenario 4, If loginto the remote windows server and launch the client application time it's taking to process the same input file is about a minute.
    Below are some more details on the issue: I am not encoding the file, I am using third party application, which provides an API to communicate with the process server. Just using the API methods and classes to pass the input file data to server. I have used the 'tracert' command for the remote server and I am seeing 8 hops between my desktop and remote server. I even installed network sniffer tool in my laptop and captured the files when application running.
    The input file has 140000 records (text lines with comma delimited) of 6.271MB in size. I have posted to understand the time it is taking in scenario3, where evrything is on mapped drive (i.e, client application and input file are technically recides on the server right?) , but client application is launched from desktop. The reason I am doing this way is, instead of log-in into the remote server, user can easily launch the application from the desktop. So, when I try to launch the application this way, this doesn't count as if client application is running local to the server? Will it becomes remote (I have even captured the network traffic file in this scenario too, and I have seen the comminication between my desktop ip address to server ip address and server is taking abour 3.84 milliseconds for each item to respond to client, I think it's just travel time not the process time). I am assuming, even when application launched from drive that is mapped, it should take about 1 minute (the time taking when I launch the aplication after log-into the server,not through drive mapping) to prcess input file as everything is on the server.
    Thanks in advance,
    Jyothi

    reading and writing the data shouldn't be the problem, its what you are doing with the data which will be taking all the time.
    Try this
    public class WriteFile {
        public static void main(String... args) throws IOException {
            String filename = "record.csv";
            int records = 140 * 1000;
            int values = 6;
                long start = System.nanoTime();
                PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(filename)));
                for (int r = 0; r < records; r++) {
                    for (int i = 0; i < values; i++) {
                        if (i > 0)
                            pw.print(',');
                        pw.print(r * 10 + i);
                    pw.println();
                pw.close();
                long time = System.nanoTime() - start;
                System.out.printf("Time to write %,d records was %.3f sec. file size=%.3fMB%n",
                        records, time / 1e9, new File(filename).length() / 1e6);
                long start = System.nanoTime();
                BufferedReader br = new BufferedReader(new FileReader(filename));
                String line;
                while ((line = br.readLine()) != null) {
                    // do some work.
                    String[] parts = line.split(",");
                    int[] nums = new int[parts.length];
                    for (int i = 0; i < parts.length; i++)
                        nums[i] = Integer.parseInt(parts);
    br.close();
    long time = System.nanoTime() - start;
    System.out.printf("Time to read %,d records was %.3f sec%n",
    records, time / 1e9);
    PrintsTime to write 140,000 records was 0.462 sec. file size=6.193MB
    Time to read 140,000 records was 0.792 sec

  • Change drive mapping using Powershell?

    Is there a way in Powershell to change a drive mapping from one location to another.  Example below:
    Drive M: is mapped to \\Server1\test_drive share
    That share has moved to another server with the same share name and now I want to have the following
    Drive M: now mapped to \\Server2\test_drive share
    As I will not know what drive letter each user is using mapping to what share,  I am basically trying to see if the user has a drive (any drive letter) mapped to Server1 and change that to Server2 (assuming the same share using same share name
    is on Server1 and Server2).
    I cannot wrap my head around this.
    Thanks,
    Dave
    Dave

    I found the following script however it does not seem to be working.  But, I think it will do what I am trying to do.
    $OldServer = "\\EXAMPLE-FS-001\"
     $NewServer = "\\companyname.local\shares\"
     $drives = Get-WmiObject win32_logicaldisk |
        ? {$_.ProviderName -like "$($OldServer)*" } |
                $Name = (($_.DeviceID) -replace ":", "")
                $NewRoot = (($_.ProviderName) -replace $OldServer, $NewServer)
                Get-PSDrive $Name | Remove-PSDrive -Force -whatif
                New-PSDrive $Name -PSProvider FileSystem -Root $NewRoot -WhatIf
    Dave
    Dave

  • Error code 0x80070035 on drive maps in GPO, "Network path cannot be found".

    I am trying to apply a GPO that maps drives so that another GPO can then make them available offline for a couple of hundred users.
    Every time I try to apply the policy it fails with an 0x80070035 error which translates as a "Network Path cannot be found". The security settings for that particular folder is fine and the user can see it ok, furthermore following logon I can
    manually map the drive through windows explorer and through CMD/powershell using the net use command.
    The path i tried was \\servername\otherdir\securearea\ which didnt work (i did drop and add the final "\" just in case i was going mad)
    i then tried \\servername\otherdir\unsecurearea\ which
    still failed
    just to prove my lack of sanity i created a folder on the hard drive of the laptop itself, made it a shared folder and tried both \\localhost\sharedfolder and \\127.0.0.1\sharedfolder,
    they all fail with the same error code.
    i have checked the hosts and the lmhosts files are there is nothing new in there, only the usual MS gumf that has come with every copy on windows since Win95
    patience is wearing thin, hair is getting short ...
    thoughts anyone?
    Nothing is unfixable - with a suitable sized hammer!

    Hi klimacher,
    Would you please let me know the current situation of this issue? Have you referred to Kelly's suggestion and solved this issue?
    Based on your description, I understand that you configure Drive Maps via GPP. However, can’t apply the policy
    with error code 0x80070035. If anything I misunderstand, please don’t hesitate to let me know.
    If so, you should find Event 4098 as below shows.
    When you type the location of this mapped drive, please remove trailing slash on the UNC path. Then apply the
    setting and run gpupdate command to update group policy setting. Please monitor the result.
    In addition, please refer to the following article and troubleshoot this issue.
    Troubleshooting
    the Drive Maps Preference Extension in Group Policy: Adding a Share Name with Trailing Slash '\' Returns Error Code 0x80070035
    If this issue still exists, please let me know summarily how you configure the Drive Maps. For an example,
    where the GPO link? Did link to user OU? Any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Re: Drive Mapping with GPO from Server 2008 R2 to Windows 7 Pro

    Justin,
    I didn't think of that. They are all OEM at the minute.
    However, I've been testing the mappings using an RDS server with their credentials. There's nothing on that platform that would be causing a drive letter conflict.
    Still at the drawing board I'm afraid.

    Good morning Spice-heads,I've got an issue with GPO and drive mappings. They're set in the standard way, new GPO linked in the root of our domain - through User Configuration, Preferences, Windows Settings, Drive Maps.They're all set as below;
    They have also been set with Item Level Targeting with security groups and set to run in users context.The issue I'm having is that some users are logging in, the policy is running without issue and all is fine. Other user are logging in and only receiving the home drive and a business wide share drive that is targeted to \Domain Users.I've looked at gpresult, there is nothing in there that I can see that would explain why the drives are not being mapped - help?!Thanks,Tonka
    This topic first appeared in the Spiceworks Community

Maybe you are looking for

  • How do I get an itunes season pass to show completed?

    I wish to change my itunes account to an international one. When I attempt to, I get the message " you have at least one incomplete pass. Passes must be complete before you can change stores". I have only one oncomplete show listed and that is Breaki

  • How do I use a protected document in Adobe Reader?

    I am trying to use a document that requires a user name and password in Adobe Reader on my tablet. The problem is that I have tried everything and nothing I do will allow me to enter this information. It says editing is not allowed with this protecte

  • Database Restore from COLD Backup

    Dear all, I .m trying to restore a production database from a COLD backup. Before the COLD BAckup, we have take a HOT backup as usual and then shutdown the database to perform the Cold Backup. After restirong all the oracle files and arch redo log, i

  • How to print Crystal Reports XI

    Help! I need to print my report using Crystal Reports XI. In order to do this, I need a password, but the person who registered the product and created the password is no longer here. No one knows the password. How do I print or get another password?

  • Can't find myself and questions I have submitted

    difficult to use Communities although I would like to.  Can't fine my account or question I have posted let alone answers.  Below is my latest. "IPhone problems. Opening the e-mail attachments. On the iPhone 4S I could not open attachments to e-mail