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.




1985 posts

Uber Geek
+1 received by user: 265

Subscriber

Topic # 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
4993 posts

Uber Geek
+1 received by user: 1327

Trusted
Microsoft

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

where on C:?

at the root?



1985 posts

Uber Geek
+1 received by user: 265

Subscriber

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

nathan: where on C:?

at the root?


All/most directories on C:

 
 
 
 


xpd

Chief Trash Bandit
9146 posts

Uber Geek
+1 received by user: 1443

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 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.





XPD / Gavin / DemiseNZ

 

Server : i3-3240 @ 3.40GHz  16GB RAM  Win 10 Pro    Workstation : i5-xxxx @ x.xxGHz  16GB RAM  Win 10 pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, geeks, and more.    




1985 posts

Uber Geek
+1 received by user: 265

Subscriber

  Reply # 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.

4993 posts

Uber Geek
+1 received by user: 1327

Trusted
Microsoft

  Reply # 1119466 1-Sep-2014 11:43
One person supports this post
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?



1985 posts

Uber Geek
+1 received by user: 265

Subscriber

  Reply # 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!

4993 posts

Uber Geek
+1 received by user: 1327

Trusted
Microsoft

  Reply # 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

1274 posts

Uber Geek
+1 received by user: 137


  Reply # 1119842 1-Sep-2014 19:00
One person supports this post
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

 




1985 posts

Uber Geek
+1 received by user: 265

Subscriber

  Reply # 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:.

4993 posts

Uber Geek
+1 received by user: 1327

Trusted
Microsoft

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

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

1274 posts

Uber Geek
+1 received by user: 137


  Reply # 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

 


322 posts

Ultimate Geek
+1 received by user: 76


  Reply # 1120485 2-Sep-2014 13:57
One person supports this post
Send private message

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



1985 posts

Uber Geek
+1 received by user: 265

Subscriber

  Reply # 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 :-)

834 posts

Ultimate Geek
+1 received by user: 260

Trusted

  Reply # 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.



1985 posts

Uber Geek
+1 received by user: 265

Subscriber

  Reply # 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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

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


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.