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:
Related
TFSConfig Identities listed all TFS accounts and all but one matched Windows.
How do I fix the lone user account where the Match is False?
While this may not be relevant, I add it to the post in case it provides any additional clues. I tried to reapply the user in the Application Tier Console Users list and it failed. The log stated the account is also an orphaned SQL Server Login. I assume that makes sense if the SID is mismatched, though.
Since you have reapply the user in the Application Tire Console Users list. Changes you make to local or Active Directory groups do not get reflected in TFS immediately.
It may be a identity synchronization issue. You must wait for the next identity synchronization with Windows before the properties of accounts that you do some account change will be updated. This requirement includes changes from group to user, user to group, and domain account to local account.
You could also force TFS to sync, details please refer this blog. After this run the TFSConfig Identities again.
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
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 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.
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