Hi,
You can go to User Configuration \ Windows Settings \ Scripts (Logon\Logoff) and add a user logon script like this.
Get-Item -Path $env:USERPROFILE\Music | Remove-Item -Recurse -Force
Get-Item -Path $env:USERPROFILE\Videos | Remove-Item -Recurse -Force
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -Value 0 -Type DWord -Force
Stop-Process -Name explorer
Start-Process -FilePath $env:SystemRoot\explorer.exe
It will remove the Music and Videos folders and show file name extensions when a user logs on.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.