Windows 7中打不開光盤的解決方案之一

   我在Windows 7 的使用中,出現了光盤打不開的情況,即插入光盤後有反應去看不到其中的文件甚至於光盤信息,經查,是因爲註冊表中燒錄CB的臨時文件夾被更改爲”\”所以導致的,我們只要將之改回原來的有效路徑就能正常訪問光驅了。

# chsword.cnblogs.com # Zou Jian 2010-1-3 $reg="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\StagingInfo\" $un=[System.Environment]::UserName $hx="\" Get-ChildItem -Path Registry::$reg -Name | foreach-object -process { $newreg=$reg+$_ $c = Get-ItemProperty -Path Registry::$newreg -Name StagingPath if($c.StagingPath -eq $hx){ $newPath="C:\Users\"+$un+"\AppData\Local\Microsoft\Windows\Burn\Burn1" Remove-ItemProperty -Path Registry::$newreg -Name StagingPath New-ItemProperty -Path Registry::$newreg -Name StagingPath -PropertyType String -Value $newPath "Done. you can open your Disk" } }

我們以管理員模式打開PowerShell

image

然後將以上代碼複製進去點回車執行,即可解決問題

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章