Citrix App Layering: Error renaming of former Content Update folder with error=5

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Citrix App Layering: Error renaming of former Content Update folder with error=5

L1 Bithead

Hi all,


I'm doing a deployment of Traps 6.1.4 on a new Windows 10 installation, using Citrix App Layering and MCS. According to this, I should be able to install Traps in the OS layer, so that's what I've done (I also tried it in an App layer with similar results as below). I've used the msiexec /i c:\install\traps.msi /l*v C:\temp\trapsinstall.log /qn VDI_ENABLED=1 command to install, because it's becoming the golden image for my MCS. After compiling the image with all the layers, I've started it up and did a cytool vdi update, because it got a new name when publishing. It's showing up in TMS just fine as a Golden Image.


But when doing the cytool imageprep scan, I noticed that it failed on a lot of files. While checking this, I noticed that the console says No connection to server (but protection is Enabled) and looking through the logs I found this:


<Error> Error renaming of former Content Update folder with error=5: Access to file denied: C:\ProgramData\Cyvera\LocalSystem\Download\content

<Error> Error setting new content 93-18050 with error code 5

<Error> Error applying new policy, error code 5


I have tried changing the permissions for that folder to Everyone/Full Control, but that doesn't help. When I try to manually change the folder name, I get Access is denied., even though I try to do this from an Administrator command prompt.


So what permissions do I need to change to allow this? Or do I need to take something else into account with App Layering?


- Pud.0


Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!