If Windows cannot access a specified device or path... ', the following error occurs: "Windows cannot access a specified device, path, or file" is displayed when you double-click to open a DVD or CD. You may not have the right permission to access this project. Solution: it is risky to modify the Registry. Proceed with caution. Back up the registry before modification. You can execute the following command or directly find the two paths in the Registry to back up "reg export HKCR \ DVD d: \ dvd. reg // here d: \ dvd. the reg path is the backup file storage path, which can be modified by yourself. Www.2cto.com reg export HKCR \ AudioCD D: \ audiocd. reg/here D: \ audiocd. reg this path is the backup file storage path, you can modify it on your own. Run the following command as an administrator: reg add HKCR \ DVD \ shell \ play \ command/ve/t REG_EXPAND_SZ/d "\" % ProgramFiles (x86) % \ Windows Media Player \ wmplayer.exe \ "/prefetch: 4/device: DVD \ "% L \" "reg add HKCR \ AudioCD \ shell \ play \ command/ve/t REG_EXPAND_SZ/d" \ "% ProgramFiles (x86) % \ Windows Media Player \ wmplayer.exe \ "/prefetch: 3/device: AudioCD \" % L \ "" // here % ProgramFiles (x86) % is for 64-bit systems, if the 32-bit system is changed to % ProgramFiles %, this command sets the type of the default value from RE G_SZ modify REG_EXPAND_SZ. This eliminates the need to restart.