05-02-2020 06:33 AM
05-02-2020 06:33 AM
I am doing a migration of an on-premises user's profile to VHD using FRX.exe command line but constantly getting an error
"Exit code 9: The system cannot write to the specified device"
I checked the code explanation is "There was an error creating the VHD/X file." but nothing else is mentioned!
The user has administrative writes to the disk. so I am lost what is wrong in here?
05-02-2020 08:47 AM
1. Find the location and name of the user you want to move
This example uses a current user named: Bob
2. Open an Administrator command prompt
Navigate into the FSLogix Apps directory
cd C:\Program Files\FSLogix\Apps
Pull up the copy-profile command
3. Build your command string
Choose the parameters that apply to your situation, in this example we are going to:
Give the output path for our vhd(x) -filename C:\Profile.vhd(x)
Enter in which user to copy -username Domain\Username
Specify the size of the disk with -size-mbs 10000
Make the disk grow as needed -dynamic 1
4. Perform the conversion
frx copy-profile -filename C:\Users\Bob.vhdx -username Bob -dynamic 1 -size-mbs 10000
After the process in finished, a clone of your user Bob account should be in a container under C:\Users\Bob.vhdx
It is possible that you may run into some errors when using and creating Profile Containers.
(0x00000001D): the system cannot write to the specified device.
This problem arises when you are attempting to migrate an existing user account to a profile container (vhd).
Delete the following directory and all its contents. Re-running your command should result in a success.
(0x00000005): Access denied
This problem arises when you are attempting to migrate an existing user account without administrator permissions
You have to run the command using an administrator command prompt.
If you still have issue you can visit the below link for more help.
05-02-2020 03:27 PM
Hi Lewis, I already have used this command multiple times but still keep on getting the same error. In the path you mentioned I couldn't find any trace of a FrxMount file or folder.
the User I am using is a local admin so not a permission issue. @Lewis-H