I created a script to use the password from text file which encrypted using secure-string. user profile which used to run the script got corrupted hence created new user profile. after that I am getting error on converting secure string . to resolve the issue again created a encrypted password text file.
is this normal scenario ? if we change the profile do we have to re-create the encrypted password file ?
how to avoid this?