FSLogix related scripts
Convert-Profiles - Convert user profiles to FSLogix Containers.
Convert-VHDToVHDX - Convert VHD files to VHDX files using FSLogix FRX.EXE tool.
Export-DataFromProfiles - Export files/folders from VHD/VHDX files
FSLogix scripts
FSLogix related scripts
Convert-Profiles - Convert user profiles to FSLogix Containers.
Convert-VHDToVHDX - Convert VHD files to VHDX files using FSLogix FRX.EXE tool.
Export-DataFromProfiles - Export files/folders from VHD/VHDX files
I'm trying to use your local to FSLogix profile migration script but am having a problem with the part that sets the owner of the folder and VHD. Whenever it attempts that part I get this error:
set-acl : The security identifier is not allowed to be the owner of this object.
At I:\Scripts\FSLogix-LocalProfileToProfileContainer1.ps1:108 char:2
set-acl -path $fldname -aclobject $fldacl
CategoryInfo : InvalidOperation: (A:\Profiles\S-1...-1125_ben.lee:String) [Set-Acl], InvalidOperation Exception
FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.SetAclCommand
I also get an error that the 'wsearch' service cannot be found.
This is running on Windows Server 2012 R2. I have tried with both the AD user list and the text file.
Is it possible to tweak this to work when migrating profiles from Windows 10/11 Multi-session VMs in Azure? I get a powershell error that states it cannot be run from a client OS, only server OS. :(
Not sure why I'm getting errors. Any insight? Running script on 2019 RDS host. Log below:
Start run at 09/26/2022 08:38:53
Parameters
logfile: .\profmig.log
Encoding: unicode
vhdpath: \mydomain.com\files\fslogix
userlist:
searchbase:
adgroup:
vhdsize: 300000
vhdx: True
cleanorphan: False
reversefolder: False
verbosefrx: True
installrsat: False
selectprofiles: True
noprogress: False
frxpath: c:\Program Files\FSLogix\Apps\frx.exe
Testing Pre-requisites.
Restarting Search Service.
Getting userlist from ProfileList key in the registry.
SID S-1-5-21-1177238915-2025429265-682003330-10219 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10248 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10254 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10310 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10345 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10346 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10351 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10358 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10366 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10367 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10397 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10413 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-10466 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-11115 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-11121 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-11171 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-11173 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-11205 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-11207 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-11244 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-1197 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-1198 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-2172 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-2751 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-4382 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-4782 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-6814 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-6882 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-7114 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-7249 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-9149 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-9255 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-9268 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-9273 is invalid.
SID S-1-5-21-1177238915-2025429265-682003330-9299 is invalid.
jdoe - Converting profile to container.
SID "S-1-5-21-1177238915-2025429265-682003330-2490" username is "jdoe"
Volume Label: Profile-jdoe
Session count: 21
VHD not found. Creating...
Create success. Attaching...
Attach success. Getting physical path...
Get physical path success. Opening device...
Open device success. Initializing disk...
Initialize disk success. Getting volume name...
.
Formatting volume: \?\Volume{bc689e68-9f07-494a-8f2e-63dc6859319b}
Format success
GetSecurityDescriptor success
GetDACL success
Set security success
Copying profile for user S-1-5-21-1177238915-2025429265-682003330-2490 to volume \?\Volume{bc689e68-9f07-494a-8f2e-63dc6859319b}
Looking for Profile Path in registry
CopyProfileToVolume SID: S-1-5-21-1177238915-2025429265-682003330-2490 Volume: \?\Volume{bc689e68-9f07-494a-8f2e-63dc6859319b}\ profileImagePath: C:\Users\jdoe
Exporting registry information
Export Profile registry data error: 0x00000002
Error copying profile (0x00000002): The system cannot find the file specified.
Detach VHD success
jdoe - FRX return code did not equal 0. Trying again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.