I setup TFS today on my machine and whenever I try to go to the web access it keeps asking me for a username and password. It also prompts me for one when I try to administer security in the application tier.
I didn't select a username and password when I set this up and I tried my machines username and password but it won't work. To top it off, my machine does not have a password and it keeps telling me i have to enter a password.
Is there a default password or login that I need to know about?
I'm having a similar problem in Windows 8. I was unable to get it to work in Chrome (my default browser) but I was able to sign in through IE 10 using the same Live ID credentials used to log into the PC.
TFS only works with accounts that have a password.
Also, TFS only works with domain accounts, not machine accounts.
Related
I have a build service setup within TFS and I have a special AD user set as the user to run the service. When I enter the credentials for that user within the TFS Admin Console, everything works fine. For some reason, after so long (not sure how long yet) the Build Service stops running. When I look into the issue, it is because the password is blank. Any ideas why this would be getting cleared out? If I put the password back in, everything will work fine until is clears out again.
Is the account a member of the local administrators group? There could be a group policy within AD that removes Log on as Service rights from such accounts on restart. See this for an example
I want any client (within a certain domain) be able to open my Asp.net MVC Web Application (which also runs on IIS on a machine withit that domain) provide its default user's name, which is what he has logged into his windows account.
I have tried setting Anon auth off and on, I have also enabled the Windows Auth on IIS and yet I either get no user name at all, or the browser (last stable chrome) asks the user for credentials. But I want the default windows credentials, that's all!
What should I do to get them?
You need to apply configuration at the browser level.
For IE you need the site in the Intranet Zone and ensure the Automatic logon with current user name and password option is set.
For FireFox: http://kb.mozillazine.org/Network.automatic-ntlm-auth.trusted-uris
Chrome inherits from the same IE zone settings.
I have created several local accounts in my server, and set password for them. Now, I distribute these accounts to my team members, I wish every one can change their own password, how can I do it? Thank you!
They can login to the desktop of that server and change their password like they would on their own machine. In order to access the desktop of that machine remotely they will need permissions. One way to ensure they have the permission for that is to go to the properties of the computer and enter their names or groups to the remote users:
When I setup TFS for the first time, I usually use the TFSSetup account, and with this account going to login for the first time.
How to login as a different user?
How to check who the current user is?
Checkout a file in Source Control Explorer and user column it will show your username with which you are connected to TFS.
If you want to connect TFS using other credentials, then add the address of your TFS server and the credentials in Credentials Manager(Control Panel->User Accounts->Credential Manager). The next time you try to access TFS, these credentials will be used.
Clear the user's credentials in the Credential Manager. This will then bring back the Authentication Window when trying to connect to TFS.
Another approach you can take that worked for me, was to log into the web interface for TFS, then use that to log in as another user. So, navigate to:
http://yourtfshost:8080/collection/web/ (or whatever your web address is)..
Then, click on your name in the corner and select "sign in as a different user."
Essentially, this does the same thing as the above suggestions. It simply replaces your credentials in credential manager with the correct ones.
I have an application that is running as window service and its running under a valid use account not under default system account ,now my worry is if in future use changes his password for that account will it effect this service??
Thanks
The service will stop working as the user credentials don't match.
Yes.
The password you enter in the service properties must be changed of the user changes his password, so it's a bad idea to run a service under a real live user account.
You can either set it to run on a system account, and grant that account the necessary resources for the service to function, or you can create a pseudo-system account - a user account that is restricted from everything else, except from the service resources.
Yes, if the password is changed for the user account, you need to update the stored password as well.
And to make this answer more programming related, this MSDN article shows you how to do it programmatically: Changing the Password on a Service's User Account