Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. 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 security

Permissions issue?

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 03-02-2007   #1 (permalink)
Matthew Fowler
Guest


 

Permissions issue?

I'm using Vista Ultimate and I'm unable to save files to the root drive. I
can create folders on the root drive and save within them, however I cannot
save a file to that drive.

I am the administrator of the computer and it appears I have full control.
What else could be causing this?

My System SpecsSystem Spec
Old 03-02-2007   #2 (permalink)
Jesper
Guest


 

RE: Permissions issue?

> I'm using Vista Ultimate and I'm unable to save files to the root drive. I
> can create folders on the root drive and save within them, however I cannot
> save a file to that drive.


That is by design and is a function of User Account Control (UAC) and the
ACL on the root of the drive. The ACL permits only Administrators and System
from writing files to the root of the drive. UAC means that even if you are a
member of the Administrator's group you do not run as an administrator unless
you elevate.

If you really want to, you can launch whatever process you use to write the
files with as an administrator and then you can write there. If you try to
drag and drop a file there you get an elevation prompt. The recommended
solution is to not store data there though.
My System SpecsSystem Spec
Old 03-02-2007   #3 (permalink)
Matthew Fowler
Guest


 

RE: Permissions issue?

Then how do I elevate the rights so this can be done at any time without
having extra steps to go through.

"Jesper" wrote:

> > I'm using Vista Ultimate and I'm unable to save files to the root drive. I
> > can create folders on the root drive and save within them, however I cannot
> > save a file to that drive.

>
> That is by design and is a function of User Account Control (UAC) and the
> ACL on the root of the drive. The ACL permits only Administrators and System
> from writing files to the root of the drive. UAC means that even if you are a
> member of the Administrator's group you do not run as an administrator unless
> you elevate.
>
> If you really want to, you can launch whatever process you use to write the
> files with as an administrator and then you can write there. If you try to
> drag and drop a file there you get an elevation prompt. The recommended
> solution is to not store data there though.

My System SpecsSystem Spec
Old 03-03-2007   #4 (permalink)
Jesper
Guest


 

RE: Permissions issue?

> Then how do I elevate the rights so this can be done at any time without
> having extra steps to go through.


If you really are adamant about storing files in the root of the C: (did I
mention that it is generally a really bad idea?) and you do not want to
elevate each time, you can resolve the situation by adding an access control
list entry for your account to the root of the drive, as follows:
1. Click the Window button:All Programs:Accessories
2. Right-click on Command Prompt
3. Select Run as administrator and accept the prompt
4. Run this command: icacls c:\ /grant fooOI)(CI)(M)

That will grant the user foo modify permissions on c:\. All objects (OI) and
containers (CI) will inherit those permissions. You would need to replace foo
with the name of your user account.

Once you do that any application you run as user foo will be able to store
data in the root of the C: drive. You will also have losened a default
security setting, with all the caveats that entails.
My System SpecsSystem Spec
Old 03-03-2007   #5 (permalink)
Matthew Fowler
Guest


 

RE: Permissions issue?

Yes, you mentioned this was a bad idea, however, I paid good money for my new
laptop and I want to save some of my information on my C: drive. I'm not
trying to hack Microsoft's software. I want the computer to do what I say to
do.

As far as that command prompt, it did not work. I typed exactly what you
wrote, however I still get this message, "An unexpected error is preventing
the operation. Make note of this error code, which might be useful if you get
additional help to resolve this problem: Error 0x80070522: A required
privilege is not held by the client."

"Jesper" wrote:

> > Then how do I elevate the rights so this can be done at any time without
> > having extra steps to go through.

>
> If you really are adamant about storing files in the root of the C: (did I
> mention that it is generally a really bad idea?) and you do not want to
> elevate each time, you can resolve the situation by adding an access control
> list entry for your account to the root of the drive, as follows:
> 1. Click the Window button:All Programs:Accessories
> 2. Right-click on Command Prompt
> 3. Select Run as administrator and accept the prompt
> 4. Run this command: icacls c:\ /grant fooOI)(CI)(M)
>
> That will grant the user foo modify permissions on c:\. All objects (OI) and
> containers (CI) will inherit those permissions. You would need to replace foo
> with the name of your user account.
>
> Once you do that any application you run as user foo will be able to store
> data in the root of the C: drive. You will also have losened a default
> security setting, with all the caveats that entails.

My System SpecsSystem Spec
Old 03-03-2007   #6 (permalink)
hermes
Guest


 

Re: Permissions issue?

Matthew Fowler wrote:
> Yes, you mentioned this was a bad idea, however, I paid good money for my new
> laptop and I want to save some of my information on my C: drive. I'm not
> trying to hack Microsoft's software. I want the computer to do what I say to
> do.
>
> As far as that command prompt, it did not work. I typed exactly what you
> wrote, however I still get this message, "An unexpected error is preventing
> the operation. Make note of this error code, which might be useful if you get
> additional help to resolve this problem: Error 0x80070522: A required
> privilege is not held by the client."
>
> "Jesper" wrote:
>
>>> Then how do I elevate the rights so this can be done at any time without
>>> having extra steps to go through.

>> If you really are adamant about storing files in the root of the C: (did I
>> mention that it is generally a really bad idea?) and you do not want to
>> elevate each time, you can resolve the situation by adding an access control
>> list entry for your account to the root of the drive, as follows:
>> 1. Click the Window button:All Programs:Accessories
>> 2. Right-click on Command Prompt
>> 3. Select Run as administrator and accept the prompt
>> 4. Run this command: icacls c:\ /grant fooOI)(CI)(M)
>>
>> That will grant the user foo modify permissions on c:\. All objects (OI) and
>> containers (CI) will inherit those permissions. You would need to replace foo
>> with the name of your user account.
>>
>> Once you do that any application you run as user foo will be able to store
>> data in the root of the C: drive. You will also have losened a default
>> security setting, with all the caveats that entails.


excuse me, but what's the relation between the money you paid for your
PC, or laptop, what we all did (did anyone get a pc for free down here,
let me know...), and the fact that you wanna store data at the root of
your C drive, which does not make sens, unless your HDD is not
partitioned. Or is it that you don't know how to partition a hard disk?
So the real question would be to ask for help on that topic.
I think Jesper was really kind to spend his time explaining how you
could bypass Vista security, although he was quite aware, like I am,
that storing data on C is an extremely bad idea.
My System SpecsSystem Spec
Old 03-03-2007   #7 (permalink)
hermes
Guest


 

Re: Permissions issue?

hermes wrote:
> Matthew Fowler wrote:
>> Yes, you mentioned this was a bad idea, however, I paid good money for
>> my new laptop and I want to save some of my information on my C:
>> drive. I'm not trying to hack Microsoft's software. I want the
>> computer to do what I say to do.
>>
>> As far as that command prompt, it did not work. I typed exactly what
>> you wrote, however I still get this message, "An unexpected error is
>> preventing the operation. Make note of this error code, which might be
>> useful if you get additional help to resolve this problem: Error
>> 0x80070522: A required privilege is not held by the client."
>>
>> "Jesper" wrote:
>>
>>>> Then how do I elevate the rights so this can be done at any time
>>>> without having extra steps to go through.
>>> If you really are adamant about storing files in the root of the C:
>>> (did I mention that it is generally a really bad idea?) and you do
>>> not want to elevate each time, you can resolve the situation by
>>> adding an access control list entry for your account to the root of
>>> the drive, as follows:
>>> 1. Click the Window button:All Programs:Accessories
>>> 2. Right-click on Command Prompt
>>> 3. Select Run as administrator and accept the prompt
>>> 4. Run this command: icacls c:\ /grant fooOI)(CI)(M)
>>>
>>> That will grant the user foo modify permissions on c:\. All objects
>>> (OI) and containers (CI) will inherit those permissions. You would
>>> need to replace foo with the name of your user account.
>>>
>>> Once you do that any application you run as user foo will be able to
>>> store data in the root of the C: drive. You will also have losened a
>>> default security setting, with all the caveats that entails.

>
> excuse me, but what's the relation between the money you paid for your
> PC, or laptop, what we all did (did anyone get a pc for free down here,
> let me know...), and the fact that you wanna store data at the root of
> your C drive, which does not make sens, unless your HDD is not
> partitioned. Or is it that you don't know how to partition a hard disk?
> So the real question would be to ask for help on that topic.
> I think Jesper was really kind to spend his time explaining how you
> could bypass Vista security, although he was quite aware, like I am,
> that storing data on C is an extremely bad idea.


one last thing, if you really want to do that, just turn UAC off. And
reboot, it's free!
My System SpecsSystem Spec
Old 03-03-2007   #8 (permalink)
Paul Adare
Guest


 

Re: Permissions issue?

In article <OFLLBiaXHHA.3996@TK2MSFTNGP02.phx.gbl>, in the
microsoft.public.windows.vista.security news group, hermes
<pls.hermes@gmail.com> says...

> excuse me, but what's the relation between the money you paid for your
> PC, or laptop, what we all did (did anyone get a pc for free down here,
> let me know...), and the fact that you wanna store data at the root of
> your C drive, which does not make sens, unless your HDD is not
> partitioned. Or is it that you don't know how to partition a hard disk?
> So the real question would be to ask for help on that topic.
> I think Jesper was really kind to spend his time explaining how you
> could bypass Vista security, although he was quite aware, like I am,
> that storing data on C is an extremely bad idea.


This has nothing at all to do with partitioning a drive, nor did
Jesper assert that storing data _on_ the C drive is an extremely
bad idea. The problem here is the desire to store individual
files at the root of the C drive, as opposed to simply creating
folders off of the root of C (or elsewhere on the C drive.

--
Paul Adare
MVP - Windows - Virtual Machine
http://www.identit.ca
"The English language, complete with irony, satire, and sarcasm,
has survived for centuries without smileys. Only the new crop of
modern computer geeks finds it impossible to detect a joke that
is not clearly labeled as such."
Ray Shea
My System SpecsSystem Spec
Old 03-03-2007   #9 (permalink)
hermes
Guest


 

Re: Permissions issue?

Paul Adare wrote:
> In article <OFLLBiaXHHA.3996@TK2MSFTNGP02.phx.gbl>, in the
> microsoft.public.windows.vista.security news group, hermes
> <pls.hermes@gmail.com> says...
>
>> excuse me, but what's the relation between the money you paid for your
>> PC, or laptop, what we all did (did anyone get a pc for free down here,
>> let me know...), and the fact that you wanna store data at the root of
>> your C drive, which does not make sens, unless your HDD is not
>> partitioned. Or is it that you don't know how to partition a hard disk?
>> So the real question would be to ask for help on that topic.
>> I think Jesper was really kind to spend his time explaining how you
>> could bypass Vista security, although he was quite aware, like I am,
>> that storing data on C is an extremely bad idea.

>
> This has nothing at all to do with partitioning a drive, nor did
> Jesper assert that storing data _on_ the C drive is an extremely
> bad idea. The problem here is the desire to store individual
> files at the root of the C drive, as opposed to simply creating
> folders off of the root of C (or elsewhere on the C drive.
>


> Matthew Fowler wrote:
>> Yes, you mentioned this was a bad idea

> I'm not
> trying to hack Microsoft's software.




from Jesper:
> If you really are adamant about storing files in the root of the C: (did I
> mention that it is generally a really bad idea?)



there are some possible reasons for storing files at the root of C
without creating a folder first, one of them could be: bypassing windows
activation process using a script file,for instance, but that was just
an example. Otherwise most programs that need to write to the root of
the system drive in Vista do that with no problem. Manually using a
batch file for any purpose at the root of C is no problem either. But
the idea of writing data directly at the root of C either comes from
someone who's new to windows, or from someone who's trying to implement
some very personal kinda files in Windows.
My System SpecsSystem Spec
Old 03-03-2007   #10 (permalink)
Matthew Fowler
Guest


 

Re: Permissions issue?

The relation is the fact that I bought a PC and I want to use it the way I
want to use it. I can understand why Microsoft doesn't want certain things
done to Windows, however I should not be stopped trying to save files there.
It's not a hard concept seeing how previous Windows versions were able to do
that.

However, the root of the issue is UAC. Now that I know that is stopping me
from saving a file there, I'll be able to continue on with my work.

"hermes" wrote:

> Paul Adare wrote:
> > In article <OFLLBiaXHHA.3996@TK2MSFTNGP02.phx.gbl>, in the
> > microsoft.public.windows.vista.security news group, hermes
> > <pls.hermes@gmail.com> says...
> >
> >> excuse me, but what's the relation between the money you paid for your
> >> PC, or laptop, what we all did (did anyone get a pc for free down here,
> >> let me know...), and the fact that you wanna store data at the root of
> >> your C drive, which does not make sens, unless your HDD is not
> >> partitioned. Or is it that you don't know how to partition a hard disk?
> >> So the real question would be to ask for help on that topic.
> >> I think Jesper was really kind to spend his time explaining how you
> >> could bypass Vista security, although he was quite aware, like I am,
> >> that storing data on C is an extremely bad idea.

> >
> > This has nothing at all to do with partitioning a drive, nor did
> > Jesper assert that storing data _on_ the C drive is an extremely
> > bad idea. The problem here is the desire to store individual
> > files at the root of the C drive, as opposed to simply creating
> > folders off of the root of C (or elsewhere on the C drive.
> >

>
> > Matthew Fowler wrote:
> >> Yes, you mentioned this was a bad idea

> > I'm not
> > trying to hack Microsoft's software.

>
>
>
> from Jesper:
> > If you really are adamant about storing files in the root of the C: (did I
> > mention that it is generally a really bad idea?)

>
>
> there are some possible reasons for storing files at the root of C
> without creating a folder first, one of them could be: bypassing windows
> activation process using a script file,for instance, but that was just
> an example. Otherwise most programs that need to write to the root of
> the system drive in Vista do that with no problem. Manually using a
> batch file for any purpose at the root of C is no problem either. But
> the idea of writing data directly at the root of C either comes from
> someone who's new to windows, or from someone who's trying to implement
> some very personal kinda files in Windows.
>

My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions Issue Cathy C Vista security 3 06-26-2008 06:51 PM
filepath/permissions issue? Tom Vista Games 3 08-20-2007 05:48 PM
Strange Permissions Issue Grorange Vista account administration 2 06-01-2007 12:47 AM
Get-wmiobject, permissions issue... Phil N PowerShell 5 04-26-2007 07:27 PM
Very odd Vista upgrade problem. Permissions issue? Google@StarBus.com Vista General 2 03-09-2007 07:48 PM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




Vista Forums 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 51