Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

Read only ???

Closed Thread
 
Thread Tools Display Modes
Old 01-09-2007   #1 (permalink)
David
Guest


 

Read only ???

Why does it always says, that disk is read only when i want to write to C:\
!?!? Same thing happens with p2p programs etc if i dont run them as
administrator, i cant save to c:\...! Where to set that- run this and this
program as admin permanent? And where to set atributes to C:\ to be writeable
and readable ? Cause thats annoying!!!


Thanks!
Old 01-09-2007   #2 (permalink)
Adam
Guest


 

RE: Read only ???

Hey David. If you're referring to the "Continue" screen I think you're
talking about you should be able to turn off the service in Control Panel >
User Accounts > Turn User Account Control off. After you restart it should no
longer ask.

"David" wrote:

> Why does it always says, that disk is read only when i want to write to C:\
> !?!? Same thing happens with p2p programs etc if i dont run them as
> administrator, i cant save to c:\...! Where to set that- run this and this
> program as admin permanent? And where to set atributes to C:\ to be writeable
> and readable ? Cause thats annoying!!!
>
>
> Thanks!

Old 01-10-2007   #3 (permalink)
Jimmy Brush
Guest


 

RE: Read only ???

Hello,

<snip>
> Why does it always says, that disk is read only when i want to write to C:\
> !?!? Same thing happens with p2p programs etc if i dont run them as
> administrator, i cant save to c:\...!


This is the way security in Windows Vista works. Applications that don't
need admin power (such as your p2p program) don't automatically receive it,
and can't do admin-type stuff, like writing to the root of your c:\ drive.

> Where to set that- run this and this
> program as admin permanent?


Right-click the program (the actual program, not its shortcut), click
properties, click the compatability tab, and enable run as administrator.
This will make it always prompt for admin permission whenever it starts.

However, I must object to running a p2p program as admin. What if a hacker
or malware gains control of your p2p program and installs a bunch of trojans
and whatnots on your computer [and yes, this does happen]? Not running it as
admin will prevent most of these types of malwares from working.

The best solution is to keep running your p2p as a non-admin and save the
files inside of your user folder and not the root c:\ drive.

> And where to set atributes to C:\ to be writeable
> and readable ? Cause thats annoying!!!


Why do you want to save all of your downloaded files to the root c:\ drive?
If you make a new folder for your stuff inside the c drive, you should have
no problems saving your files to the new folder.

The best place to put your files is inside of your user profile folder
(c:\users\USERNAME\) - you will not run into any problems by using this
folder.

However, for the sake of completeness, to change security permissions on
your c drive you need to use the security tab of the properties page for the
drive. It is very dangerous to change permissions on a drive, so MS made it a
little harder to do in Vista. You first must take ownership of the drive
through the advanced screen before being able to change permissions.

If you decide to make changes to the permissions on your drive, you need to
use the advanced button to add/edit permissions and DO NOT USE the standard
permission editor on the main security tab. Inside the advanced add
permission screen, make sure you set the scope of the permission changes to
'This folder only' INSTEAD OF the default 'This folder, subfolders, and
files'. This is because you don't want your changes to affect the other
folders and files on your drive, just the folders and files directly inside
the root of your drive.

I will add, however, If your intent is to make all folders and files on your
hard drive read/writable by everybody with no prompts, don't bother messing
with file security - just turn off UAC as the other poster recommened. You
will be sacrificing all the new security in Vista and will inevitably suffer
as a result, but it will make things less annoying in the short term.

>
> Thanks!


You're welcome .

- JB
Old 01-11-2007   #4 (permalink)
Jimmy Brush
Guest


 

Re: Read only ???

<snip>
> If you decide to make changes to the permissions on your drive [...]
> Inside the advanced add
> permission screen, make sure you set the scope of the permission changes
> to
> 'This folder only' INSTEAD OF the default 'This folder, subfolders, and
> files'.


I messed up here, and the steps for gaining write-access to a root drive for
non-admins is a bit more complicated than I originally thought . This
should read:

Make sure you set the scope of the permission changes to *'files only'*
INSTEAD OF the default 'This folder, subfolders, and files'. Also, check the
box that says "Apply these permissions to objects and/or containers within
this container only'

Also, you will need to run the following command from a command prompt that
has been elevated (right-click it and click run as administrator).

icacls c:\ /setintegritylevel (OI)(NP)(IO)medium

To set it back to default security, run this command:

icacls c:\ /setintegritylevel (OI)(NP)(IO)high

Again, I should point out that I highly recommend that you do not do this.


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/

Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some one please help me please read this jackson buva General Discussion 1 4 Weeks Ago 12:25 AM
READ THIS IF YOU CANNOT GET DRIVE TO READ DISK TO FIX VISTA ERROR! reap70 Vista hardware & devices 1 02-10-2008 03:38 PM
Folders/files read only/can't create new folder in read only folde gshillitani Vista account administration 10 09-25-2007 09:52 AM
Read-Host issue, won't store to variable when using multiple read-host lines bryan.rutkowski@gmail.com PowerShell 7 02-09-2007 02:40 PM
BUG? Read-Host 'xxx' can't read '!xxx' =?Utf-8?B?Um9tYW4gS3V6bWlu?= PowerShell 14 09-06-2006 08:00 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50