tfs Source Control Explorer>File>Advanced>unlock disabled












3














I'm sure I have given all the rights to my account and I'm the Project & Build Administrator for my project.



All our work machines have recently been formatted, and VS2012 has been installed afresh. We did the mapping to our respective work-spaces. Everything works fine, except for one developer who did not check-in before his machine was formatted, so that file has remained checked-out and locked in his workspace. Even administrators are not allowed to unlock that file.



In Visual-Studio 2012 & Team Foundation Server 2012:
Source Control Explorer>File>Advances>unlock option is
disabled. See Image below :
enter image description here



Please help. I have tried many commands from the Visual Studio command prompt which didn't seem to work.



Here are some commands that I've tried:



tf lock /lock:none /workspace:uto27; utopavitar  $/socialmediaweb

tf lock /lock:none /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive

tf undo /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive









share|improve this question
























  • Any findings? I'm stumped with this as well
    – JNF
    Nov 5 '15 at 8:01










  • refer to one of my other SO question : stackoverflow.com/questions/21545424/… . Though this may not directly solve the problem, but will give you a direction
    – Pavitar
    Nov 20 '15 at 14:05
















3














I'm sure I have given all the rights to my account and I'm the Project & Build Administrator for my project.



All our work machines have recently been formatted, and VS2012 has been installed afresh. We did the mapping to our respective work-spaces. Everything works fine, except for one developer who did not check-in before his machine was formatted, so that file has remained checked-out and locked in his workspace. Even administrators are not allowed to unlock that file.



In Visual-Studio 2012 & Team Foundation Server 2012:
Source Control Explorer>File>Advances>unlock option is
disabled. See Image below :
enter image description here



Please help. I have tried many commands from the Visual Studio command prompt which didn't seem to work.



Here are some commands that I've tried:



tf lock /lock:none /workspace:uto27; utopavitar  $/socialmediaweb

tf lock /lock:none /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive

tf undo /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive









share|improve this question
























  • Any findings? I'm stumped with this as well
    – JNF
    Nov 5 '15 at 8:01










  • refer to one of my other SO question : stackoverflow.com/questions/21545424/… . Though this may not directly solve the problem, but will give you a direction
    – Pavitar
    Nov 20 '15 at 14:05














3












3








3


1





I'm sure I have given all the rights to my account and I'm the Project & Build Administrator for my project.



All our work machines have recently been formatted, and VS2012 has been installed afresh. We did the mapping to our respective work-spaces. Everything works fine, except for one developer who did not check-in before his machine was formatted, so that file has remained checked-out and locked in his workspace. Even administrators are not allowed to unlock that file.



In Visual-Studio 2012 & Team Foundation Server 2012:
Source Control Explorer>File>Advances>unlock option is
disabled. See Image below :
enter image description here



Please help. I have tried many commands from the Visual Studio command prompt which didn't seem to work.



Here are some commands that I've tried:



tf lock /lock:none /workspace:uto27; utopavitar  $/socialmediaweb

tf lock /lock:none /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive

tf undo /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive









share|improve this question















I'm sure I have given all the rights to my account and I'm the Project & Build Administrator for my project.



All our work machines have recently been formatted, and VS2012 has been installed afresh. We did the mapping to our respective work-spaces. Everything works fine, except for one developer who did not check-in before his machine was formatted, so that file has remained checked-out and locked in his workspace. Even administrators are not allowed to unlock that file.



In Visual-Studio 2012 & Team Foundation Server 2012:
Source Control Explorer>File>Advances>unlock option is
disabled. See Image below :
enter image description here



Please help. I have tried many commands from the Visual Studio command prompt which didn't seem to work.



Here are some commands that I've tried:



tf lock /lock:none /workspace:uto27; utopavitar  $/socialmediaweb

tf lock /lock:none /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive

tf undo /server:http://192.168.0.116:8080/tfs/bv_collection /workspace:uto27;utopavitar $/SocialMedia/SocialMediaWeb/SocialMediaWeb/ChatterAdvanced2.aspx.cs /recursive






command-line visual-studio-2012 team-foundation-server






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 25 '14 at 10:13

























asked Jan 9 '14 at 10:56









Pavitar

2961820




2961820












  • Any findings? I'm stumped with this as well
    – JNF
    Nov 5 '15 at 8:01










  • refer to one of my other SO question : stackoverflow.com/questions/21545424/… . Though this may not directly solve the problem, but will give you a direction
    – Pavitar
    Nov 20 '15 at 14:05


















  • Any findings? I'm stumped with this as well
    – JNF
    Nov 5 '15 at 8:01










  • refer to one of my other SO question : stackoverflow.com/questions/21545424/… . Though this may not directly solve the problem, but will give you a direction
    – Pavitar
    Nov 20 '15 at 14:05
















Any findings? I'm stumped with this as well
– JNF
Nov 5 '15 at 8:01




Any findings? I'm stumped with this as well
– JNF
Nov 5 '15 at 8:01












refer to one of my other SO question : stackoverflow.com/questions/21545424/… . Though this may not directly solve the problem, but will give you a direction
– Pavitar
Nov 20 '15 at 14:05




refer to one of my other SO question : stackoverflow.com/questions/21545424/… . Though this may not directly solve the problem, but will give you a direction
– Pavitar
Nov 20 '15 at 14:05










1 Answer
1






active

oldest

votes


















0














try this in Visual studio command prompt i hope it will work...



     C:Program Files (x86)Microsoft Visual Studio 12.0>tf undo
{tfsfilepath} /Workspace:{tfsusername}

Undo your changes to {Filepath} (Yes/No) yes





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f699158%2ftfs-source-control-explorerfileadvancedunlock-disabled%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    try this in Visual studio command prompt i hope it will work...



         C:Program Files (x86)Microsoft Visual Studio 12.0>tf undo
    {tfsfilepath} /Workspace:{tfsusername}

    Undo your changes to {Filepath} (Yes/No) yes





    share|improve this answer


























      0














      try this in Visual studio command prompt i hope it will work...



           C:Program Files (x86)Microsoft Visual Studio 12.0>tf undo
      {tfsfilepath} /Workspace:{tfsusername}

      Undo your changes to {Filepath} (Yes/No) yes





      share|improve this answer
























        0












        0








        0






        try this in Visual studio command prompt i hope it will work...



             C:Program Files (x86)Microsoft Visual Studio 12.0>tf undo
        {tfsfilepath} /Workspace:{tfsusername}

        Undo your changes to {Filepath} (Yes/No) yes





        share|improve this answer












        try this in Visual studio command prompt i hope it will work...



             C:Program Files (x86)Microsoft Visual Studio 12.0>tf undo
        {tfsfilepath} /Workspace:{tfsusername}

        Undo your changes to {Filepath} (Yes/No) yes






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 11 '16 at 4:24









        Boopathi.Indotnet

        1011




        1011






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f699158%2ftfs-source-control-explorerfileadvancedunlock-disabled%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            If I really need a card on my start hand, how many mulligans make sense? [duplicate]

            Alcedinidae

            Can an atomic nucleus contain both particles and antiparticles? [duplicate]