Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PatrickTscheng opened this issue Apr 1, 2023 · 3 comments
Open

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

PatrickTscheng opened this issue Apr 1, 2023 · 3 comments

Comments

@PatrickTscheng
Copy link

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

@mingkuang-Chuyu
Copy link
Contributor

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

@PatrickTscheng
Copy link
Author

请问 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
Copy link
Contributor

mingkuang-Chuyu commented Oct 9, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants