Fix Compressed (Zipped) Folder Access Denied Error “Unable to Complete the Operation” When you try to create a zip file (Discharge a Resident) in Windows 7/Vista, or you try to unzip a file, (Restore a Resident) you get the following error, or nothing happens "Unable to complete the operation. Access is denied" This happens if the user %TEMP% variable isn’t properly set, or the user has no "write" access to their %TEMP% folder. To fix the problem, perform the following steps.... 1. Right-click Computer and then click Properties 2. Click Advanced System Settings 3. Click Environment Variables 4. In the User variables for , select TEMP and click Edit… (In case the TEMP variable is missing, you’ll have to create one by clicking the New… button.) 5. Verify that the variable value is set as: %USERPROFILE%\AppData\Local\Temp If it doesn't click on it and click Edit. Type in: %USERPROFILE%\AppData\Local\Temp 6. Click OK. 7. Logoff and Login back to your user account (or Re-Boot). If the variable values are correctly set and the problem still persists, verify if the user account has Full Control permissions for the user TEMP folder as described below. Verifying and Fixing Permissions for the %TEMP% Folder 1. Click Start 2. In the search slot, type %TEMP% and press ENTER 3. This opens the TEMP folder of your user account. 4. Try creating a test file in that folder by right clicking a blank spot in the window and selecting New Text Document. Once created, try to delete it. If you’re unable to create and delete a test file in that folder due to insufficient access, taking ownership and assigning Full Control permissions to the folder should resolve the problem. Use these steps: 1. Open an elevated Command Prompt by clicking Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator 2. Type the following command and press ENTER 3. Then, type these commands one by one and press ENTER after each command: %TEMP% /grant SYSTEM:F /T %TEMP% /grant {username}:F /T Replace "{username} with the actual user account name To find your user account name, click Start and the username is listed at the top of the Right panel. OR click Start and then Control Panel, and then User Accounts. example: %TEMP% /grant John:F /T where John is the username.