Link to home
Start Free TrialLog in
Avatar of tfsaccount
tfsaccountFlag for United States of America

asked on

MF20.dsn user

Hello,

Can someone tell me how to change the user that is stated in the MF20.dsn in citrix 4.5?
I have 10 servers that it needs to be changed on.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Carl Webster
Carl Webster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tfsaccount

ASKER

Can i do that on 1 server at a time? or do i have to do this on all the servers at the same time?
one server at a time is best.
error:
Failed to connect to the data store. The settings will be reverted to the previo
us configuration.
Unable to change configuration settings.
Please verify parameters and data source.

I chaged the user name to the new username i want to use and that users password.
Does that user account have rights to the data store?
The user has Domain Admin rights. But does that mean it has rights to the data store?
Nope, not at all.  You have the give the user the necessary rights to the data store.

http://support.citrix.com/proddocs/topic/xenapp5fp-w2k3/ps-datastore-ref-wrapper-v2.html
hum... i am not seeing any information on that site you provided on how to give a user access to the datastore...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
THank you. I have not tried it yet becaues i have users on all of my servers. But if i have any issues i'll be back.
You can do this while users are on the servers.  Just login yourself to the server, then disable logins so no new users can connect and then do this process.  The entire process should take less than 30 seconds maybe 1 minute at the max.
When you say "manually edit the dsn file" do you mean... open the file in notepad and change the username and password? then run the commands?

also i think if i stop thoes services it will kick thoes users out....
Yes, use notepad and cahnge the username.  The password is not kept in the file.

Stopping those services will NOT kick the users out.  I did it on 10 servers last week that that "somehow" reverted to an older DSN file.  Each server had around 30 users and no one was kicked off and no one lost any work.

If you want to speed up the process even more, put all the commands in a batch file so you don't have to wait on your typing skills at the command line.
I checked w/ our DBAdmin and he said the new user has full rights to the citrix database. I just gave it a try and it still gives me the error
error:
Failed to connect to the data store. The settings will be reverted to the previo
us configuration.

steps i took.
opened the mf20 file
changed the username to the new one: AdminCitrix
ran:net stop imaservice
ran:Dsmaint config /user:AdminCitrix /pwd:password /dsn:"C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn"

erroed out.
Started services.
no users were kicked out.
Whenever I have run into this issue it has been either the username is wrong, the password is wrong or the path is wrong.
Hello again,
IS there a way I can test this to make sure it worked? Just run the AMC and see if it works?
Not sure what was different from your script but this is what worked for me.

dsmaint config /user:DOMAIN\AdminCitrix /pwd:Password101 /dsn:"C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn"