-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cut 4427 disallow main folders path redirection (#150) #151
Conversation
* folder redirect validation * default path fix * functions test * docs * ver * test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think everything makes sense but only because we've spent the time talking about this. The variable names are a bit confusing to read through, and I'm in favor of just testing the redirect directory as a default behavior within Test-UserRegistryLoadState
. Just less complexity overall, if there's a use case that I've missed, let me know?
Issues
What does this solve?
Prevents migration if the user have redirected folder/s (Documents, Desktop, Downloads, etc...) to a network shared drive
Is there anything particularly tricky?
Setting up a network shared folder and redirecting path for Desktop or Documents can be time consuming. There is an alternative to this by changing the path values in the registry:
HKEY_USERS:\USERSID\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Desktop
to\\192.168.50.78\SharedFolder\USERNAME\Desktop
How should this be tested?
.\Start-JCADMU.ps1
)-ValidateUserShellFolder $false
to skip the user folder validation:Screenshots