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.


1982 posts

Uber Geek
+1 received by user: 257

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
4955 posts

Uber Geek
+1 received by user: 1318

Trusted
Microsoft

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

where on C:?

at the root?



1982 posts

Uber Geek
+1 received by user: 257

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
8762 posts

Uber Geek
+1 received by user: 1277

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

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz

 

Sea of Thieves Down Under




1982 posts

Uber Geek
+1 received by user: 257

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.

4955 posts

Uber Geek
+1 received by user: 1318

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?



1982 posts

Uber Geek
+1 received by user: 257

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!

4955 posts

Uber Geek
+1 received by user: 1318

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

1221 posts

Uber Geek
+1 received by user: 123


  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

 




1982 posts

Uber Geek
+1 received by user: 257

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

4955 posts

Uber Geek
+1 received by user: 1318

Trusted
Microsoft

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

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

1221 posts

Uber Geek
+1 received by user: 123


  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

 


312 posts

Ultimate Geek
+1 received by user: 74


  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



1982 posts

Uber Geek
+1 received by user: 257

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

833 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.



1982 posts

Uber Geek
+1 received by user: 257

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:





News »

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07


All or Nothing: New Zealand All Blacks arrives on Amazon Prime Video
Posted 2-Jun-2018 16:21


Innovation Grant, High Tech Awards and new USA office for Kiwi tech company SwipedOn
Posted 1-Jun-2018 20:54


Commerce Commission warns Apple for misleading consumers about their rights
Posted 30-May-2018 13:15


IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41



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.

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