![]() |
Follow On Script not running |
Post Reply
|
| Author | |
Anant
Newbie
Joined: 01 Mar 2024 Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
Topic: Follow On Script not runningPosted: 15 Apr 2024 at 8:35pm |
|
Hey Experts
We are attempting to execute a PowerShell script as a follow-up step after completing the user profile migration. The PowerShell file is stored in both C:\Temp\It and a network location. Additionally, we are using domain admin credentials to carry out the user migration process. The domain admin has the necessary rights to access the network folder. However, we are encountering the following error in both scenarios: "Running follow-on code... Fails. The user name or password is incorrect." we have login with another user account in system and in the config file we have mentioned the domain admin user password.
Thanks in Advance |
|
![]() |
|
Support
Moderator Group
Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1941 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 Apr 2024 at 10:45am |
|
Hi,
The follow-on script runs at the end of the migration in the security context of the <LocalAdmin> account specified in your Profwiz.config file, after the machine has been removed from the old on-premises domain. This means that if the <LocalAdmin> account is from the old domain, the credentials are no longer valid. To avoid this, you can tell User Profile Wizard to run the follow-on script as SYSTEM, by setting <RunAsSystem> to True in your Profwiz.config file: <RunAsSystem>True</RunAsSystem> If you continue to have a problem, please can you email support with the config file, migration log and confirmation as to how you're running the Wizard on the computer and we'll be happy to review and advise. Many thanks, Support.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |