Azure WVD I am unable to convert userprofile using frx.exe

%3CLINGO-SUB%20id%3D%22lingo-sub-1354864%22%20slang%3D%22en-US%22%3EAzure%20WVD%20I%20am%20unable%20to%20convert%20userprofile%20using%20frx.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1354864%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20doing%20a%20migration%20of%20an%20on-premises%20user's%20profile%20to%20VHD%20using%20FRX.exe%20command%20line%20but%20constantly%20getting%20an%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Exit%20code%209%3A%20The%20system%20cannot%20write%20to%20the%20specified%20device%22%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20checked%20the%20code%20explanation%20is%20%22%3CSPAN%3EThere%20was%20an%20error%20creating%20the%20VHD%2FX%20file.%22%20but%20nothing%20else%20is%20mentioned!%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Ffslogix%2Ffslogix-error-codes-reference%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Ffslogix%2Ffslogix-error-codes-reference%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20user%20has%20administrative%20writes%20to%20the%20disk.%20so%20I%20am%20lost%20what%20is%20wrong%20in%20here%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22frx.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F188377i7A2C8DF850A064D7%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22frx.jpg%22%20alt%3D%22frx.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1354864%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efslogix%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUserProfile%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWVD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355033%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20WVD%20I%20am%20unable%20to%20convert%20userprofile%20using%20frx.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355033%22%20slang%3D%22en-US%22%3E%3CP%3E1.%20Find%20the%20location%20and%20name%20of%20the%20user%20you%20want%20to%20move%3C%2FP%3E%3CP%3EThis%20example%20uses%20a%20current%20user%20named%3A%20Bob%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Open%20an%20Administrator%20command%20prompt%3C%2FP%3E%3CP%3ENavigate%20into%20the%20FSLogix%20Apps%20directory%3C%2FP%3E%3CP%3Ecd%20C%3A%5CProgram%20Files%5CFSLogix%5CApps%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPull%20up%20the%20copy-profile%20command%3C%2FP%3E%3CP%3Efrx%20copy-profile%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E3.%20Build%20your%20command%20string%3C%2FP%3E%3CP%3EChoose%20the%20parameters%20that%20apply%20to%20your%20situation%2C%20in%20this%20example%20we%20are%20going%20to%3A%3C%2FP%3E%3CP%3EGive%20the%20output%20path%20for%20our%20vhd(x)%20-filename%20C%3A%5CProfile.vhd(x)%3CBR%20%2F%3EEnter%20in%20which%20user%20to%20copy%20-username%20Domain%5CUsername%3CBR%20%2F%3ESpecify%20the%20size%20of%20the%20disk%20with%20-size-mbs%2010000%3CBR%20%2F%3EMake%20the%20disk%20grow%20as%20needed%20-dynamic%201%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E4.%20Perform%20the%20conversion%3C%2FP%3E%3CP%3Efrx%20copy-profile%20-filename%20C%3A%5CUsers%5CBob.vhdx%20-username%20Bob%20-dynamic%201%20-size-mbs%2010000%3C%2FP%3E%3CP%3EAfter%20the%20process%20in%20finished%2C%20a%20clone%20of%20your%20user%20Bob%20account%20should%20be%20in%20a%20container%20under%20C%3A%5CUsers%5CBob.vhdx%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETroubleshooting%3C%2FP%3E%3CP%3EIt%20is%20possible%20that%20you%20may%20run%20into%20some%20errors%20when%20using%20and%20creating%20Profile%20Containers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(0x00000001D)%3A%20the%20system%20cannot%20write%20to%20the%20specified%20device.%3C%2FP%3E%3CP%3EThis%20problem%20arises%20when%20you%20are%20attempting%20to%20migrate%20an%20existing%20user%20account%20to%20a%20profile%20container%20(vhd).%3C%2FP%3E%3CP%3EFix%3A%3C%2FP%3E%3CP%3EDelete%20the%20following%20directory%20and%20all%20its%20contents.%20Re-running%20your%20command%20should%20result%20in%20a%20success.%3C%2FP%3E%3CP%3E%25Temp%25%5CFrxMount%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(0x00000005)%3A%20Access%20denied%3C%2FP%3E%3CP%3EThis%20problem%20arises%20when%20you%20are%20attempting%20to%20migrate%20an%20existing%20user%20account%20without%20administrator%20permissions%3C%2FP%3E%3CP%3EFix%3A%3C%2FP%3E%3CP%3EYou%20have%20to%20run%20the%20command%20using%20an%20administrator%20command%20prompt.%3C%2FP%3E%3CP%3EIf%20you%20still%20have%20issue%20you%20can%20visit%20the%20below%20link%20for%20more%20help.%3C%2FP%3E%3CP%3ELink%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.apps4rent.com%2Fwindows-virtual-desktop-azure%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.apps4rent.com%2Fwindows-virtual-desktop-azure%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355475%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20WVD%20I%20am%20unable%20to%20convert%20userprofile%20using%20frx.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355475%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Lewis%2C%20I%20already%20have%20used%20this%20command%20multiple%20times%20but%20still%20keep%20on%20getting%20the%20same%20error.%20In%20the%20path%20you%20mentioned%20I%20couldn't%20find%20any%20trace%20of%20a%20FrxMount%20file%20or%20folder.%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20User%20I%20am%20using%20is%20a%20local%20admin%20so%20not%20a%20permission%20issue.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F493704%22%20target%3D%22_blank%22%3E%40Lewis-H%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448143%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20WVD%20I%20am%20unable%20to%20convert%20userprofile%20using%20frx.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448143%22%20slang%3D%22en-US%22%3E%3CP%3Edid%20you%20have%20any%20luck%20fixing%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448322%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20WVD%20I%20am%20unable%20to%20convert%20userprofile%20using%20frx.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448322%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20really.%20nothing%20worked%20with%20FSLogix%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F692479%22%20target%3D%22_blank%22%3E%40SQLTemp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Dear all,

 

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! 

https://docs.microsoft.com/en-us/fslogix/fslogix-error-codes-reference

 

The user has administrative writes to the disk. so I am lost what is wrong in here? 

 

frx.jpg

4 Replies
Highlighted

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

frx copy-profile

 

 

 

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

 

 

Troubleshooting

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).

Fix:

Delete the following directory and all its contents. Re-running your command should result in a success.

%Temp%\FrxMount

 

(0x00000005): Access denied

This problem arises when you are attempting to migrate an existing user account without administrator permissions

Fix:

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.

Link: https://www.apps4rent.com/windows-virtual-desktop-azure

Highlighted

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 

Highlighted

did you have any luck fixing this?

Highlighted

Not really. nothing worked with FSLogix @SQLTemp