Skip to content

Fix for removal of MDM registry keys#5

Open
rioux602 wants to merge 6 commits intostevecapacity:mainfrom
rioux602:main
Open

Fix for removal of MDM registry keys#5
rioux602 wants to merge 6 commits intostevecapacity:mainfrom
rioux602:main

Conversation

@rioux602
Copy link

@rioux602 rioux602 commented Nov 19, 2024

This part of the script was not working, as there was no '\' separator between the reg key path, leading to nothing being removed. After migration, Intune was still trying to communicate with old tenant and the device wasn't being added to the new Intune tenant.

Maybe we could add some logic to make sure it at least detected and deleted one node, but this at least should fix it for now.

rioux602 and others added 5 commits November 19, 2024 17:26
Fix the part that removes MDM reg keys as it was broken
Remove trailing linebreak
Adding trailing linebreak
@rioux602
Copy link
Author

Added some more stuff and small fixes as I was progressing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant