A quick Google search.
The batch files have the registry keys you are seeking.
How to modify the registry with PowerShell?
https://www.get-itsolutions.com/add-registry-key-values-with-cmd-powershell-batch
These links should get you going.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
IT have implemented a Windows Folder Redirection for all user, whereby their My Music, My Pictures and Personal folders have been redirected from the default C:\ location to \FILESERVER\User$user.name\My Documents location. These settings are tattooed in the registry and not easily changed; these settings can be found in the registry here Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
i need to change that registry value(S) back to default using a script as part of the stage in the migration process can anyone help
i need to
Remove users from the redirection GPO
deploy a PS script using Intune or Group Policy to rewrite the registry keys to default
im looking for assistance with the script if anyone can help
A quick Google search.
The batch files have the registry keys you are seeking.
How to modify the registry with PowerShell?
https://www.get-itsolutions.com/add-registry-key-values-with-cmd-powershell-batch
These links should get you going.
Hi there,
You can use the below script to make the registry key to its default value.
$RegKey = "HKLM:\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Client" # Container object
$RegLeaf = "(Default)" # Leaf object
$RegValue = "Current value" # Content of leaf object
Set-ItemProperty -Path $RegKey -Name $RegLeaf -Value $RegValue
--------------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer--