Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Satch

1985 posts

Uber Geek


#151652 1-Sep-2014 11:17
Send private message

Hi,

I did a new PC build over the weekend and installed Windows 7 Ultimate 32 bit on it.  For some reason I get "Access Denied" when trying to edit any files on the C drive.  The user I have set up has Admin rights.

I'm not really sure where to start.  Any basic things I should look at?


 

Cheers.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
nathan
5695 posts

Uber Geek
Inactive user


  #1119447 1-Sep-2014 11:19
Send private message

where on C:?

at the root?



Satch

1985 posts

Uber Geek


  #1119448 1-Sep-2014 11:20
Send private message

nathan: where on C:?

at the root?


All/most directories on C:

xpd

xpd
Geek @ Coastguard NZ
13769 posts

Uber Geek

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #1119460 1-Sep-2014 11:37
Send private message

Was it a new HDD ? Or one that had Windows on it from a previous build ?
Check the security permissions as well to see what has access .
Also, what AV are you running ? It might be preventing you thinking its a virus.





       Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand

 

                      LinkTree

 

 

 




Satch

1985 posts

Uber Geek


  #1119461 1-Sep-2014 11:39
Send private message

xpd: Was it a new HDD ? Or one that had Windows on it from a previous build ?
Check the security permissions as well to see what has access .
Also, what AV are you running ? It might be preventing you thinking its a virus.



It was a brand new SSD.  I've opened up security permissions so everyone has full access, as well as the user I created with admin rights.
I am only running MSE on the PC.

nathan
5695 posts

Uber Geek
Inactive user


  #1119466 1-Sep-2014 11:43
Send private message

Satch:
nathan: where on C:?

at the root?


All/most directories on C:



system directories or dirs. you have created?

so you can't create a dir and get access denied?

Satch

1985 posts

Uber Geek


  #1119470 1-Sep-2014 11:50
Send private message

nathan:
Satch:
nathan: where on C:?

at the root?


All/most directories on C:



system directories or dirs. you have created?

so you can't create a dir and get access denied?


I can create new dirs off C: and can write to them.

Ok you got my brain working.  It was only the Program Files dir and all subdirs.  I've changed the security on that and all is now sweet.  Thanks!

nathan
5695 posts

Uber Geek
Inactive user


  #1119545 1-Sep-2014 12:52
Send private message

I think the ACLs on program folders are set up like that for UAC to work

So you may want to create your dir somewhere else, unless you really need to have it under program folders

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
TwoSeven
1624 posts

Uber Geek

Subscriber

  #1119842 1-Sep-2014 19:00
Send private message

A general rule of thumb (and you will see this in later windows builds) is that you are not really supposed to be writing anything to the root of the C: drive and to any of the system folders (windows/program files/program data).  It is really worth while getting into the habit of writing to your documents folders and other library locations (which can be mapped to another drive for example).






Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...


Satch

1985 posts

Uber Geek


  #1120407 2-Sep-2014 12:03
Send private message

TwoSeven: A general rule of thumb (and you will see this in later windows builds) is that you are not really supposed to be writing anything to the root of the C: drive and to any of the system folders (windows/program files/program data).  It is really worth while getting into the habit of writing to your documents folders and other library locations (which can be mapped to another drive for example).




Now that would make life boring, wouldn't it :-).

I have DVBLink installed in Program Files and needed to alter the transponder file for NZ in Notepad.  That's why I wanted write access to C:.

nathan
5695 posts

Uber Geek
Inactive user


  #1120444 2-Sep-2014 13:06
Send private message

probably right click notepad, run as administrator might be a better way

TwoSeven
1624 posts

Uber Geek

Subscriber

  #1120450 2-Sep-2014 13:17
Send private message

Satch:
TwoSeven: A general rule of thumb (and you will see this in later windows builds) is that you are not really supposed to be writing anything to the root of the C: drive and to any of the system folders (windows/program files/program data).  It is really worth while getting into the habit of writing to your documents folders and other library locations (which can be mapped to another drive for example).




Now that would make life boring, wouldn't it :-).

I have DVBLink installed in Program Files and needed to alter the transponder file for NZ in Notepad.  That's why I wanted write access to C:.


One of the things that the changes were introduced to do is stop people doing this and get the developers to write their software correctly [jest].

Technically, that file should be in app data or in the user data section depending on access requirements.

However, you can edit it by running an editing tool under an elevated prompt (the old right-click and run as administrator).




Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...


bagheera
539 posts

Ultimate Geek


  #1120485 2-Sep-2014 13:57
Send private message

or notepad++ with save as admin plugin install - it great as i always forget to run as admin before editing

Satch

1985 posts

Uber Geek


  #1121060 3-Sep-2014 11:49
Send private message

I also need to add other files to plugin dirs on C etc to get it all working.  I have full C: access now so am Larry :-)

Glassboy
850 posts

Ultimate Geek

ID Verified
Trusted

  #1121085 3-Sep-2014 12:39
Send private message

Satch: I also need to add other files to plugin dirs on C etc to get it all working.  I have full C: access now so am Larry :-)


The end effect of what you have done is malware can now freely disguise itself by replacing DLLs of legitimate programs.  As someone said what you should have done is elevated the rights of your text editor when needed, and you should have only changed the ACLs on your plugin dir.

Basically first drive by download and your entire machine is pwned.

Satch

1985 posts

Uber Geek


  #1121086 3-Sep-2014 12:41
Send private message

Glassboy:
Satch: I also need to add other files to plugin dirs on C etc to get it all working.  I have full C: access now so am Larry :-)


The end effect of what you have done is malware can now freely disguise itself by replacing DLLs of legitimate programs.  As someone said what you should have done is elevated the rights of your text editor when needed, and you should have only changed the ACLs on your plugin dir.

Basically first drive by download and your entire machine is pwned.


I guess I've been lucky over the past 20 or so years then as I've always had full write access to my C: drives.  I like to live dangerously :-).

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.