Chuyu-Team / Dism-Multi-language

Dism++ Multi-language Support & BUG Report
MIT License
14.51k stars 1k forks source link

系统还原时候因为wsl的原因导致access denied #1052

Open PatrickTscheng opened 1 year ago

PatrickTscheng commented 1 year ago

windows官方的说明:https://learn.microsoft.com/en-US/troubleshoot/windows-client/deployment/dism-apply-image-command-fails-error-code-5 似乎可以通过备份或者还原时添加exception来规避,请问是否可以添加exception选项

mingkuang-Chuyu commented 1 year ago

请问 exception选项是什么?能具体的说明吗?你给你URL里微软哪里说了真正的解决方案?

PatrickTscheng commented 10 months ago

请问 exception选项是什么?能具体的说明吗?你给你URL里微软哪里说了真正的解决方案?

比如这篇文章里说的? https://www.interfacett.com/blogs/windows-image-file-exclusions/ By default DISM will exclude the following file sets: \$ntfs.log\hiberfil.sys\pagefile.sys\swapfile.sys”\System Volume Information”\RECYCLER\Windows\CSC DISM also offers the option of creating a custom Exclusion and Exclusion Exception file, as long as it uses identical internal section headers and is saved as a .ini file. Any name or directory path may be applied using the /ConfigFile: argument. The should incorporate the complete directory location and file name of the custom file, allowing the file to be located other than within directory containing the DISM command executable.

mingkuang-Chuyu commented 10 months ago

……

这个功能,设置,过滤文件就是了。

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: PatrickTscheng @.> Sent: Monday, October 9, 2023 4:22:34 AM To: Chuyu-Team/Dism-Multi-language @.> Cc: mingkuang @.>; Comment @.> Subject: Re: [Chuyu-Team/Dism-Multi-language] 系统还原时候因为wsl的原因导致access denied (Issue #1052)

请问 exception选项是什么?能具体的说明吗?你给你URL里微软哪里说了真正的解决方案?

比如这篇文章里说的? https://www.interfacett.com/blogs/windows-image-file-exclusions/ By default DISM will exclude the following file sets: $ntfs.log\hiberfil.sys\pagefile.sys\swapfile.sys”\System Volume Information”\RECYCLER\Windows\CSC DISM also offers the option of creating a custom Exclusion and Exclusion Exception file, as long as it uses identical internal section headers and is saved as a .ini file. Any name or directory path may be applied using the /ConfigFile: argument. The should incorporate the complete directory location and file name of the custom file, allowing the file to be located other than within directory containing the DISM command executable.

― Reply to this email directly, view it on GitHubhttps://github.com/Chuyu-Team/Dism-Multi-language/issues/1052#issuecomment-1752153232, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEX7GZJCTK7DO7GBM64XVEDX6MDQVAVCNFSM6AAAAAAWPWMFMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGE2TGMRTGI. You are receiving this because you commented.Message ID: @.***>