How to find which process locked the directory

I have a folder with some TFS-projects. So now i want to rename or move my directory, it says that "the action can't be completed because
thefolder or a file in
it is open in another program". So i downloaded "Process Explorer", ctrl+f, entered directory name, but it found nothing. I
thought that files used are presented by full names, eg C:\SomeDir\SmthElse\...

Hi,
You can check with:
1. MMC - Shared Folders (if it is a shared folder). Here you could check Open Files to see if files are locked by other users with opening a file in your folder. You can kill the session to unlock a file.
2. Download this tool:
http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
Handle.exe could help check locking session on your computer. See if your file in that folder is listed and use -c to close the handle.
If you have any feedback on our support, please send to [email protected]

Similar Messages

  • How to find which instance in the RAC cluster the application is connected

    How to find which instance in the RAC cluster the application is connected to ?
    Raees

    well if you know the user through which your application is connected to instance, you can easily find out by querying gv$session view.
    select inst_id,sid,serial#,program,username from gv$session where username is not null;
    Thanks
    Gaurav

  • How to find which port on the switch that it connected with Mac address?

    Hi,
    I am trying to find which port of the switches it connected to thru mac-address?
    I am able to get the mac-address from the ip address when i do
    "show ip dhcp binding snooping" at the core switch.
    But when I move on to the Edge switch to check which PC with this Mac address connected to the port,i returned with no result.(onli trunk port result)
    I use sh ip arp | inc 000d.60cb.445d
    but didn't give me which port it connected to.
    How to solve this problem?
    thanks!
    KL

    Hi KL,
    If you are already on the edge switch you can run a command "sh mac-address-table address " and it will give you the port number.
    Incase you get a port which is a trunk port that means the end device does not exist on this switch and exist on some downstream switch. So you can just find out the ip address of the downstream switch with "sh cdp neigh detail" command and connect to that downstream switch and then again issue the command "sh mac-address-table address " and check the port number and follow the above steps till the time you get the switch on whcih end host is connected.
    HTH, if yes please rate the post.
    Ankur

  • How to find out, who locked the same row

    Dears,
    I have a problem,
    sometimes our user complain that, when he tyring to make a transaction to a specific customer's Account
    its says 'Some other user access the same account, keep trying...' (like this).
    and in this response I just kill that user's session. then he can make the transaction by reconnecting.
    sometimes my solution(killing the session) can not slove this problem.it stayed even 5/6 hours long.
    in this time,i cannot find any bloking session or such a long waiting session.
    In this Scenario..
    I need to find out who(SID,SERIAL#,USERNAME) locked the same ROW (not table).
    There are many users who are locking different rows of the same table at the
    same time. I need to find the one who locked my row.
    is it possible to find out, who locked the specific customer's Account ?
    I am trying to find out by the following query but failed.
    SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id
    SELECT *
    FROM (SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id)
    WHERE rowidd IN (SELECT ROWID
    FROM account_mas
    WHERE branch = '999' AND accout_no = '009990215454')
    please help me...
    My Database version- 10.2.0.4, windows
    Regards
    Halim
    Edited by: Abdul Halim on Oct 26, 2009 2:43 AM

    Just check with this query, find the lock and kill the session.
    select b.session_id ,a.SERIAL#, a.username "Blocker Details"
    from v$session a,dba_lock b
    where b.session_id = a.sid
    and b.blocking_others = 'Blocking';
    Regards
    Asif kabir

  • How to find out who deleted the directory in Unix

    Hi Experts,
    In my system some body tampered the directories, and more over some body deleted the bin directory under the /usr/sap/trans in Unix operating system. now i am checking to find out who deleted and for the more logs.
    i am unable to find out the user name and deleted directory logs..i know its completely related to the unix level but mean time i am searching for the same.
    Any ideas and clues will be heighly appreciated.
    -Srini

    To know the OS would have been helpful
    First ask the people around you if anybody did it, maybe he is man enough to admit...
    Try to find out who logged at the time when the directory was deleted.
    - check the OS syslog (/var/adm/syslog/syslog.log for hp-ux, /var/log/messages for linux)
    - try the last commando to get a list of who logged on when
    - check the command histories of the sidadm, root user, use the history command, or the h alias
    - check if there are scripts running, which regularly delete files
    As the trans directory might be NFS mounted to other servers, you might need to do the checks there too.
    Best regards, Michael

  • How to find multiple entries in the Directory

    Hi,
    my directory contains lot of multiple entires and I want to find out is there a easier method by a script or command to find out all the mutiple entries in the directory.
    Thanks!!
    Message was edited by:
    Sun_One@TCS
    Message was edited by:
    Sun_One@TCS

    Are you talking about entries that have been renamed because of a Replication Naming conflict (like the entry was added on 2 masters at the same time) ?
    If so, please check the Administration Guide, Replication section.
    <http://docs.sun.com/app/docs/doc/819-0995/6n3cq3av8?a=view#gdquf>
    If you were talking about something else, please be more explicit. Directory Server does not allow you to create multiple entries with the same name. DNs are unique.
    Regards,
    Ludovic

  • How to find exactly who lock the records

    hi:
    Session1: lock a record for example
    Select e.* from employees e where e.employee_id = 7034 for update;
    Session2: try to lock the same record:
    Select e.* from employees e where e.employee_id = 7034 for update nowait;
    After exception ora-00054 raised query this statement:
    Select Vs.Sid,
    Vs.Client_Identifier,
    Vs.Action,
    Vs.Status,
    Vs.Machine,
    Vs.Terminal,
    Vs.Logon_Time,
    Dmlock.Name
    From Dba_Dml_Locks Dmlock,
    V$session Vs
    Where Dmlock.Session_Id = Vs.Sid
    And Vs.Sid =
    (Select Distinct First_Value(Ash.Blocking_Session) Over(Order By Ash.Sample_Time Desc)
    From Sys.v_$active_Session_History Ash
    Where Ash.Session_Id = Sys_Context('USERENV', 'SID'))

    session #1
    21:28:14 SQL> Select e.* from employees e where e.employee_id = 206 for update;
    EMPLOYEE_ID FIRST_NAME           LAST_NAME
    EMAIL                     PHONE_NUMBER         HIRE_DATE JOB_ID         SALARY
    COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
            206 William              Gietz
    WGIETZ                    515.123.8181         07-JUN-94 AC_ACCOUNT       8300
                          205           110
    21:28:39 SQL> session #2
    SQL> set time on
    21:29:25 SQL>  Select e.* from employees e where e.employee_id = 206 for update nowait;
    Select e.* from employees e where e.employee_id = 206 for update nowait
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    21:29:51 SQL> session #3
    21:30:18 SQL> SELECT Vs.sid,
           Vs.client_identifier,
           Vs.action,
           Vs.status,
           Vs.machine,
           Vs.terminal,
           Vs.logon_time,
           Dmlock.name
    FROM   dba_dml_locks Dmlock,
           v$session Vs
    WHERE  Dmlock.session_id = Vs.sid
           AND Vs.sid = (SELECT DISTINCT First_value(Ash.blocking_session)
                                           over(
                                             ORDER BY Ash.sample_time DESC)
                         FROM   sys.v_$active_session_history Ash
                         WHERE  Ash.session_id = Sys_context('USERENV', 'SID')) 21:30:44   2  21:30:44   3  21:30:44   4  21:30:44   5  21:30:44   6  21:30:44   7  21:30:44   8  21:30:44   9  21:30:44  10  21:30:44  11  21:30:44  12  21:30:44  13  21:30:44  14  21:30:44  15  21:30:44  16 
    21:30:46  17  /
    no rows selected
    21:30:49 SQL> Your results are duly UNDERWHELMING!

  • How to find which Port has the highest traffic (both in/out) in switch

    Hello,
    I have a 3550 switch with 48 port having 12.1 code.
    Need to know which port is causing the highest traffic , i mean to track which user is downloading/uploading the most.
    I was able to track this in CATOS with the command sh top and that will tell the port, but in IOS based switches i was not able to find
    Can some one help.

    You can try with the following command:
    show interfaces summary
    Output shows the traffic for all ports instead of the top one only, but you can find the top from this output. Or you can install an MRTG or Cacti for monitor the used bandwith.
    bye
    FCS
    Please rate me if I helped.

  • How to find which attribute in the view object is dirty

    Hi all,
    I am using Jdev 11.1.2.2
    I am using this code to find if a data control is dirty
    iterator.getDataControl().isTransactionDirty();
    But is there a way to find out which attribute is dirty ?
    Thanks in advance

    Never tried but give this a try.
    1. Invoke ViewAttributeDefImpl[] VO.getViewAttributeDefImpls().
    2. For each ViewAttributeDefImpl, invoke isDirty().
    You may need to expose a VO method to make this accessible in view layer, if this works.

  • How to find which sql or process that is causing lots of swap space

    Hello,
    There is a lot of swap space going on constantly. The SGA is 18gigs and PGA is 2 gigs. The swap space is 19gigs. How to find which processes or sql statements that are using a lot of sga and paging? The database is 10.1.0.5. and the tool OEM 10g. Thank you in advance.

    v$sort_usage or v$temp_segusage give temporary tablespace usage.
    To get PGA memory by session, you could use insteadv$process.

  • How to find out what is the lock key for the computer

    How to find out what is the lock key for the computer?

    You don't.
    If you forgot or lost the password, all you can practically do is reset it.
    The manner in which you do so depends on what version of OS X you are running. The older versions utilize the reset password utility on your recovery/re-installation disk/drive.
    On Lion, you use the following technique to reset the Administrators password:
    Boot to your Lion Recovery Partition, by holding down the Option key while starting, and then selecting the Recovery HD as the boot choice.
    Once booted, at the top of the screen is a menu ..., select Utilities / Terminal from the menu bar.
    In the Terminal window, type “resetpassword” (without the quotes) and press return. A “Reset Password” window will open. Select your boot volume (your SSD drive) if it is not already selected. Select your administrators username from the menu labeled “Select the user account” if it is not already selected. Follow the prompts to reset the password. Restart the computer from the apple menu.

  • How to find which function module write the relevant idoctype?

    Dear All,
    how to find which function module write the relevant idoctype?

    Hi,
    Generally the function modules of the idoc types are having a naming convention as IDOC_INPUT for inbound processing and IDOC_OUTPUT for outbound processing followed by the idoc type name
    for example : For IDOC type ORDERS
    the inbound function module will be IDOC_INPUT_ORDERS and for outbound IDOC_OUTPUT_ORDERSP
    In this way you can find the function module for a particular IDOC
    P.S: Hope this is what you have asked for
    Regards
    Sarves

  • How do i find my newest itunes tv downloads, in my video app.  In the OS7 all my purchases are there so i can find which onw is the new ones?

    How do i find my newest itunes tv downloads, in my video app.  In the OS7 all my purchases are there so i can find which onw is the new ones that i have not watch

    Well blow me down & keelhaul me! I've solved my own problem. The issue appears to be that Apple won't sync Smart Groups from Address Book to the iPhone. I created a test group with a few dud contacts in Address Book; iTunes sync'ed then OK & as soon as I went into Contacts on iPhone, there suddenly was the Groups button appearing with 2 Groups - my Test Group + all Other contacts. Nice one apple - another undocumented feature! Looks like I have to do away with the Smart Groups feature & convert them all to normal Groups in Address book - bugga!

  • How do i find my newest itunes tv downloads, in my video app.  In the OS7 all my purchases are there so i can find which one is the new ones that i have not watch M

    How do i find my newest itunes tv downloads, in my video app.  In the OS7 all my purchases are there so i can find which one is the new ones that i have not watch

    Hi Bill...
    Read here >  Creating an iCloud account: Frequently Asked Questions

  • TS3991 I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this?

    I am a landlord and I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this? as an example 37 31 1 and when i type this nothing is showing.

    I am a landlord and I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this? as an example 37 31 1 and when i type this nothing is showing.

Maybe you are looking for