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: Access denied editing text files to root C drive

23 Apr 2013   #21
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Sorry - real life got in the way!

Add the Value and data in yourself
in Regedit, navigate to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
and right-click on the System entry - select New> DWORD Value
entry the Name, then double-click on the name to open it up and change the data point to 1


My System SpecsSystem Spec
.
23 Apr 2013   #22
logicearth

Windows 10 Pro (x64)
 
 

Are you falling into the trap of not watching "Applies to" in the permissions? See below for the default permissions placed on the system drive.


Attached Images
Access denied editing text files to root C drive-untitled.png 
My System SpecsSystem Spec
23 Apr 2013   #23
morpheus305

windows 7 64bit professional
 
 

Quote   Quote: Originally Posted by NoelDP View Post
Sorry - real life got in the way!

Add the Value and data in yourself
in Regedit, navigate to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
and right-click on the System entry - select New> DWORD Value
entry the Name, then double-click on the name to open it up and change the data point to 1
Made the registry entry and tried it out, did not work Even restarted the pc and tried it out again still didnt work.
My System SpecsSystem Spec
.

23 Apr 2013   #24
morpheus305

windows 7 64bit professional
 
 

Quote   Quote: Originally Posted by logicearth View Post
Are you falling into the trap of not watching "Applies to" in the permissions? See below for the default permissions placed on the system drive.
Here is what I got set.


Attached Images
Access denied editing text files to root C drive-sevenforums1.jpg 
My System SpecsSystem Spec
24 Apr 2013   #25
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Please run the following command, and post the results...

REG QUERY HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
My System SpecsSystem Spec
24 Apr 2013   #26
morpheus305

windows 7 64bit professional
 
 

C:\Windows\system32>REG QUERY HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr
entVersion\Policies\System

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
ConsentPromptBehaviorAdmin REG_DWORD 0x0
ConsentPromptBehaviorUser REG_DWORD 0x3
EnableInstallerDetection REG_DWORD 0x1
EnableLUA REG_DWORD 0x0
EnableSecureUIAPaths REG_DWORD 0x1
EnableUIADesktopToggle REG_DWORD 0x0
EnableVirtualization REG_DWORD 0x1
PromptOnSecureDesktop REG_DWORD 0x0
ValidateAdminCodeSignatures REG_DWORD 0x0
dontdisplaylastusername REG_DWORD 0x0
legalnoticecaption REG_SZ
legalnoticetext REG_SZ
scforceoption REG_DWORD 0x0
shutdownwithoutlogon REG_DWORD 0x1
undockwithoutlogon REG_DWORD 0x1
FilterAdministratorToken REG_DWORD 0x0
LocalAccountTokenFilterPolicy REG_DWORD 0x1

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\UIP
I
My System SpecsSystem Spec
24 Apr 2013   #27
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Please re-enable User Account Control (LUA) and retest - disabling it does change the effects of some policies.
My System SpecsSystem Spec
24 Apr 2013   #28
morpheus305

windows 7 64bit professional
 
 

I moved the UAC slider bar all the way up and restarted my pc. This is the new results.

C:\Users\Me>REG QUERY HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersi
on\Policies\System

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
ConsentPromptBehaviorAdmin REG_DWORD 0x2
ConsentPromptBehaviorUser REG_DWORD 0x3
EnableInstallerDetection REG_DWORD 0x1
EnableLUA REG_DWORD 0x1
EnableSecureUIAPaths REG_DWORD 0x1
EnableUIADesktopToggle REG_DWORD 0x0
EnableVirtualization REG_DWORD 0x1
PromptOnSecureDesktop REG_DWORD 0x1
ValidateAdminCodeSignatures REG_DWORD 0x0
dontdisplaylastusername REG_DWORD 0x0
legalnoticecaption REG_SZ
legalnoticetext REG_SZ
scforceoption REG_DWORD 0x0
shutdownwithoutlogon REG_DWORD 0x1
undockwithoutlogon REG_DWORD 0x1
FilterAdministratorToken REG_DWORD 0x0
LocalAccountTokenFilterPolicy REG_DWORD 0x1

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\UIP
I
My System SpecsSystem Spec
24 Apr 2013   #29
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

It only needs to be at the default position - one down from the top.

What happens with file changes after that?
(I'm off to bed now, so no hurry )
My System SpecsSystem Spec
24 Apr 2013   #30
morpheus305

windows 7 64bit professional
 
 

Ok, just tested it with UAC turned to second from the top. Unfortunately i still have the problem Should I switch it back to off again?
My System SpecsSystem Spec
Reply

 Access denied editing text files to root C drive




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Changing Setting Security on root folder returns 'access is denied'
Hi, Changing setting Security on root folder returns access is denied for some sub-folders. I have an external HHD assigned with 'G' driver letter under my Computer. I have removed 'everyone' from the 'Groups and user names' on the root folder by choosing 'security tab' from the property...
Backup and Restore
The root drive (C:\) is shared, nevertheless there is no access to sub
The root drive (C:\) is shared, nevertheless there is no access to subfolders, How come that the root drive (C:\) is shared but no access is permitted to a particular subfolder (attached)? How to force the sharing for the root and ALL the subfolders Thank you Best
Network & Sharing
Access denied when editing .ini files
All of a sudden when I'm trying to save an edited .ini file in a program folder (in C:\Program Files) I get blocked by an Access Denied message. First, on making the changes in the .ini using Notepad and then clicking File > Save, I get the "Save As" dialog instead. But even then when I click Save...
General Discussion
all my files are access denied
can anyone help me... all my files are access denied even im the admin. tnx!
General Discussion
.Log text files on root of "C" drive
After installing Nvidia drivers, Realtek drivers, and JMicron E-sata drivers, I now have .log text files on the root of my "C" drive. Are these accessed next time I update the driver or can I get rid of them? I can't seem to find anything about these. I know they are there for a reason but I like...
Installation & Setup
cant access root drive - lost admin rights
Hi; I installed Windows7 recently. I was changing permissions and accidently denied authenticated users to C drive. I was logged in as admin which is the only account. Now I cant access anythig in C Drive and cant execute any thing. I tried through safe mode as well but of no use. How can I...
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 03:59.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App