Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Creating a new file in C: drive gives error 0x80070522

21 Nov 2012   #1
dxm

Windows 7 Ultimate 64-bit (Service Pack 1)
 
 
Creating a new file in C: drive gives error 0x80070522

If I try to create a new file in C: drive, I get this error:
Error 0x80070522: A required privilege is not held by client.
I first noticed this error after doing a 'frugal' install of BackTrack 5R3 (Linux distribution) setup on C: using UNetbootin. I thought it must be preventing me from creating files so that they don't interfere with the Backtrack setup.

I ran the setup, but did not install BackTrack. And after that, I installed UNetbootin. Uninstalling removed newly-created 'frugal' install files and UNetbootin boot entry.

UNetbootin had changed permissions for C: (It seemed so). I tried to revert them manually by changing one permission from 'Applies to: Subfolders and filers' to 'Applies to: This folder, subfolders and files'.

On some forums (including Microsoft Answers), people were recommending to use
takeown and cacls. That did not solve my problem. And the commands they suggested applied on all subfolders and files as well. I have no problem with subfolders.

The previous Owner was 'TrustedInstaller'. After using
takeown, icacls and cacls, I could not revert the Owner back to TrustedInstaller, or to SYSTEM (as the owner of other partitions is 'SYSTEM') using command-line.

I have checked the permissions and the permissions for C: seem to be the same as for D: or E:, and they work fine.


And, yes, a point of note:

This error appears when I try to create a file by using
Right-click > New > Text document. Or when I use notepad (or any other application) to save to C: drive. But, if I run notepad (or other applications) as administrator, the file is saved without error.


UPDATES:

- System Restore does not solve the problem.



My System SpecsSystem Spec
.

21 Nov 2012   #2

Windows 8.1 Pro (x64)
 
 

It was perfectly normal for you not to be able to create a file in the root of C. It is setup that way by default. Administrative power is required (aka, Run as Administrator) to create file (folders can be made, however!) in the root of C.
My System SpecsSystem Spec
22 Nov 2012   #3
dxm

Windows 7 Ultimate 64-bit (Service Pack 1)
 
 

Oh God... I wish I knew that earlier.... I wasted days trying to fix a problem which wasn't a problem in the first place....

Thanks for your reply.
My System SpecsSystem Spec
.


Reply

 Creating a new file in C: drive gives error 0x80070522




Thread Tools



Similar help and support threads for2: Creating a new file in C: drive gives error 0x80070522
Thread Forum
Scan of an external drive error and found file Performance & Maintenance
Stop creating file.db and recent.db on USB drive General Discussion
Help required creating batch file to read .csv file General Discussion
0x80070522 General Discussion
Error 0x80070522 (no solution?) Network & Sharing
Creating a bootable flash drive from ISO file Installation & Setup
Weird Error 0x80070522: A required privilege is not held by the client System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:56 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33