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

If you are trying to clean vhd instead of vhdx you will need to edit Container Cleanup Script #11

Open
fimblecog opened this issue Jan 17, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@fimblecog
Copy link

Describe the bug
When you are attempting to clean vhd files with the container cleaner script it fails with an error that it can't write the log file. That's because it has 0 files in it's collection. You have to edit the filter on line 258 to "Profile*.vhd" instead of "Profile*.vhdx"

To Reproduce
Steps to reproduce the behavior:
Set path to folders with vhd files

Expected behavior
That will discover vhd files and process them as it would a vhdx.

Desktop (please complete the following information):

  • OS: Windows Server 2016 Standard
  • FSLogix Apps agent version [e.g. 2.9.6964.52690]

Additional context
Add any other context about the problem here.

@aaronparker aaronparker self-assigned this Jan 23, 2020
@j923vaz
Copy link

j923vaz commented Sep 24, 2020

I had to modify my script to vhd and the script started to run but I noticed its fails on dismounting the vhd, is there another location I need to edit in order to dismount vhd files as well?

the error in the script is
WARNING: Remove-ContainerData.ps1: failed to dismount c:\profilelocation\profile_username.vhd

@aaronparker aaronparker added the bug Something isn't working label Oct 9, 2020
@dewildep
Copy link

Hello @aaronparker, is it also possible to process vhd files with your new version of the script?
I see that @j923vaz had issues processing vhd files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants