Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7866813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:31:01+00:00 2026-06-03T00:31:01+00:00

I try to make some connection to an tfs server. I must run this

  • 0

I try to make some connection to an tfs server.
I must run this in the scheduler, so i need to provide the username and password.

As you can see. We use the tfspreview version. With username ( LIVE ID mailadres ) and password.

When i remove the password. It works. Username and password in cache? I removed cache in the local appdata!

When we try with the password. We get the following error.

    TF30064: You are not authorized to access the server.

The code we use.

            REM @echo off
            REM ... Change the path below. This is the path where the code will be downloaded!
            REM Z:
            REM cd Backup_TFS_Preview
            REM call %VS100COMNTOOLS%\..\..\VC\vcvarsall.bat x86

            REM ... Navigate to folder
            Z:
            cd Backup_TFS_Preview

            REM ... Makes folder with date today
            mkdir %Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4%

            REM ... Navigate to folder
            cd %Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4%

            REM ... Add workspace for the folder with date of today
            "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf" workspace /login:username(LiveID mail adres),password /new /server:https://*.tfspreview.com/DefaultCollection %Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4% /noprompt 

            REM ... Get all items from TFS
            "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf" get /recursive /all /noprompt

            REM ... Navigate to folder
            cd ..

            REM ... Zip the folder
            C:\TFS_Backup_Scripts\7z.exe a %Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4%.zip %Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4%\

            REM ... Remove folder
            rmdir %Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4%\ /s /q

            REM ... Delete workspace
            "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf" workspace /delete %Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4% /noprompt

            REM ... Navigate to folder
            cd ..
            cd ..

            REM ... Delete zip files that are older then 10 days 
            forfiles -p "Z:\Backup_TFS_Preview" -s -m *.* -d -10 -c "cmd /c del /q @path"

            PAUSE
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:31:03+00:00Added an answer on June 3, 2026 at 12:31 am

    Looks like you’re trying to connect to the tfspreview from the TF.EXE command of Visual Studio 2010, right ?

    Even if you installed the QFE to enable TFSPreview access in Visual Studio be aware that this is mainly a “limited patch” and that TF.EXE is not fully compliant with TFSPreview.

    You should install the VS11 beta and use the TF.EXE from this version, maybe you’ll be more lucky.

    Btw I see you’re determined to create a schedule job to backup TFSPreview sources. You have to know that even if the platform is in preview state your whole Team Project Collection will be kept 3 months after the TFSPreview gets RTM and you’ll be notified several time of the possibility to:

    1. Upgrade to the “paid version”
    2. Retrieve the Team Project Collection in local before it’s destroyed from the MS servers.

    Brian Keller from MS was very clear about that. So don’t be afraid to loose your code.

    Update:
    Comment from Brian Harry (one of the TFS Big bosses):

    Brian Harry MS 27 Mar 2012 1:06 PM That said, let me repeat a few
    things I’ve said before:

    1) Our goal is to be cost competitive with the market for similar
    capabilities.

    2) I mentioned in my CodePlex post the other day that we envision a
    unified service across TFSPreview/CodePlex that scales from free to
    paid – details still to be determined there.

    3) Before we institute any billing model, we will provide a high
    fidelity and easy way to migrate your data from the cloud to an
    on-premises TFS server should you decide that’s more economical
    .

    Feel free to contact Brian on his blog to ask him a confirmation, he always answers to people.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to make a mysql connection and get some data back. I can
I'm trying to make a simple TCP server using Twisted ,which can do some
I'm trying to make a Java connection with SQL Server, but I'm facing some
I wanted to make some simple file recovery software, where I want to try
I try to make a displaying list with onmouseover() with some links but they
For some reason, when I try to make a sphere in Java by checking
Whenever I try and make any Twitter request, my application always hangs. This does
String url = getUrl(); try{ Connection con = getConnection(url, username, pwd); }catch(ConnectionException e){ cleanUpUrl(url);
First, I open a connection and send some data to server. Next I get
I try to start some command from ssh non-interactive ssh connection. I use ant-sshexec

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.