- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.3k
Description
❓ General Issue
The Question
Original problem: Windows machine after a restart was hanging at "Please wait for the User Profile Service" [1]. I let it run over night and had no success.
After some investigating, I tried to delete my user %TEMP% directory. The only thing that failed to delete was a CDK.out asset directory. I used robocopy to delete the many nested directories. [2] [3] [4]
Resolution: After 30 minutes of running a command, all of the nested directories were deleted and I was able to restart my machine.
It should be noted I've also been using VSCode as my IDE. It could be contributing or causing the issue as well?
Environment
- CDK CLI Version: 1.74.0 (build e86602f)
- Module Version: n/a
- Node.js Version: v12.13.0
- OS: Windows 10 Version 1909 (OS Build 18363.959)
- Language (Version): TypeScript 4.0.3
Other information
(#1) The original problem and error message.

(#2) Many nested cdk.out asset directories

(#3) Running the delete

(#4) The result of deletion - robocopy newTempFolder Temp /purge was the command I ran to delete everything in Temp

Thank you and please let me know if anything needs clarifying or more info. I can share the CDK project I was playing with if that would help.