Demodex a écrit :
Et si tu le fais via une commande powershell ? Code :
- $backupFilePath = "$env:USERPROFILE\Desktop\StuckRects3Backup.reg"
- $regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3"
- Export-Registry -Path $regPath -Destination $backupFilePath
- $binaryData = (Get-ItemProperty -Path $regPath -Name Settings).Settings
- $newValue = $binaryData
- $newValue[5] = 1
- Set-ItemProperty -Path $regPath -Name Settings -Value $newValue
- Stop-Process -Name explorer -Force
- Start-Process explorer
|
nb: je fais avant un backup de ta valeur actuelle de clé sur le bureau.
|
Merci pour ton retour,
Lors de la troisième ligne de commande, il me dit que la fonction Export-Registry n'est pas reconnu :
Export-Registry : Le terme «Export-Registry» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de
script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin
d'accès est correct et réessayez.
Au caractère Ligne:1 : 1
+ Export-Registry -Path $regPath -Destination $backupFilePath
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Export-Registry:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
A moins que j'ai une valeur à changer moi même ?
Message édité par brosswood le 18-02-2024 à 11:56:28