Jump to content

take ownership and reset perms


Recommended Posts

Guest Justin Rich
Posted

i have a bunch of folders that need to be taken over and perms reset.

(basically roaming profile security, user has access but the admin doesnt

and i need the admin to)

 

I know once upon a time there was a script that used cacls to do this but i

cant find it and im not having much luck with it.

 

I have downloaded xcacls and have tried to do xcacls c:\folder /g

administrators:OF /e

 

its giving me an access denied which doesnt make sense, i obviously dont

have access, thats why im using the O security modifier..

 

any thoughts?

 

Thanks

  • Replies 5
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: take ownership and reset perms

 

 

"Justin Rich" <jrich523@yahoo.spam.com> wrote in message

news:Ok39aLt$HHA.5424@TK2MSFTNGP05.phx.gbl...

>i have a bunch of folders that need to be taken over and perms reset.

>(basically roaming profile security, user has access but the admin doesnt

>and i need the admin to)

>

> I know once upon a time there was a script that used cacls to do this but

> i cant find it and im not having much luck with it.

>

> I have downloaded xcacls and have tried to do xcacls c:\folder /g

> administrators:OF /e

>

> its giving me an access denied which doesnt make sense, i obviously dont

> have access, thats why im using the O security modifier..

>

> any thoughts?

>

> Thanks

>

 

You need to seize ownership of these folders. Click

Start / Help and look for "ownership" if unsure how

to do this.

Guest Johan Strange
Posted

RE: take ownership and reset perms

 

This is the default behaviour for RUPs perms. You can alter this using a GPO

 

Computer Settings / Administrative Templates / System / User Profiles / Add

the Administrators security group to roaming user profiles.

 

Look at the policy explain tab. If you alter the permissions you may stop

the profile working. Take ownership of the files first and then you will be

able to reset the perms without error.

 

 

 

--

Johan Strange

_______________________________

MCSE, MCSA + Messaging, CompA+

 

Logic42 Computer Solutions - The answer to everything

 

 

 

"Justin Rich" wrote:

> i have a bunch of folders that need to be taken over and perms reset.

> (basically roaming profile security, user has access but the admin doesnt

> and i need the admin to)

>

> I know once upon a time there was a script that used cacls to do this but i

> cant find it and im not having much luck with it.

>

> I have downloaded xcacls and have tried to do xcacls c:\folder /g

> administrators:OF /e

>

> its giving me an access denied which doesnt make sense, i obviously dont

> have access, thats why im using the O security modifier..

>

> any thoughts?

>

> Thanks

>

>

>

Guest Justin Rich
Posted

Re: take ownership and reset perms

 

Sorry, when i said "basically roaming profiles" what i meant to say is, they

are roaming profiles for an application we use, not AD.. so a policy wont

effect them..

 

i have to script this one.

 

Thanks

Justin

 

"Johan Strange" <JohanStrange@discussions.microsoft.com> wrote in message

news:CCB08DB8-45AE-43F5-9F72-BA63A7CD01CE@microsoft.com...

> This is the default behaviour for RUPs perms. You can alter this using a

> GPO

>

> Computer Settings / Administrative Templates / System / User Profiles /

> Add

> the Administrators security group to roaming user profiles.

>

> Look at the policy explain tab. If you alter the permissions you may stop

> the profile working. Take ownership of the files first and then you will

> be

> able to reset the perms without error.

>

>

>

> --

> Johan Strange

> _______________________________

> MCSE, MCSA + Messaging, CompA+

>

> Logic42 Computer Solutions - The answer to everything

>

>

>

> "Justin Rich" wrote:

>

>> i have a bunch of folders that need to be taken over and perms reset.

>> (basically roaming profile security, user has access but the admin doesnt

>> and i need the admin to)

>>

>> I know once upon a time there was a script that used cacls to do this but

>> i

>> cant find it and im not having much luck with it.

>>

>> I have downloaded xcacls and have tried to do xcacls c:\folder /g

>> administrators:OF /e

>>

>> its giving me an access denied which doesnt make sense, i obviously dont

>> have access, thats why im using the O security modifier..

>>

>> any thoughts?

>>

>> Thanks

>>

>>

>>

Guest Justin Rich
Posted

Re: take ownership and reset perms

 

Thanks, im aware of how to take ownership via about 10 clicks, but i would

rather not do this for 200 folders, im looking for a command line tool that

will allow me to do this so i can just script it.

 

Thanks

Justin

 

"Pegasus (MVP)" <I.can@fly.com> wrote in message

news:uOLLTxt$HHA.5164@TK2MSFTNGP05.phx.gbl...

>

> "Justin Rich" <jrich523@yahoo.spam.com> wrote in message

> news:Ok39aLt$HHA.5424@TK2MSFTNGP05.phx.gbl...

>>i have a bunch of folders that need to be taken over and perms reset.

>>(basically roaming profile security, user has access but the admin doesnt

>>and i need the admin to)

>>

>> I know once upon a time there was a script that used cacls to do this but

>> i cant find it and im not having much luck with it.

>>

>> I have downloaded xcacls and have tried to do xcacls c:\folder /g

>> administrators:OF /e

>>

>> its giving me an access denied which doesnt make sense, i obviously dont

>> have access, thats why im using the O security modifier..

>>

>> any thoughts?

>>

>> Thanks

>>

>

> You need to seize ownership of these folders. Click

> Start / Help and look for "ownership" if unsure how

> to do this.

>

Guest Pegasus \(MVP\)
Posted

Re: take ownership and reset perms

 

I see. If you had mentioned "Command Line Tools" in your

original post then I would have suggested subinacl.exe (if you

can wrap your mind around its syntax) or fileacl.exe

(http://www.microsoft.com/downloads/details.aspx?FamilyID=723f64ea-34f0-4e6d-9a72-004d35de4e64&displaylang=en).

 

 

"Justin Rich" <jrich523@yahoo.spam.com> wrote in message

news:u19op35$HHA.3848@TK2MSFTNGP05.phx.gbl...

> Thanks, im aware of how to take ownership via about 10 clicks, but i would

> rather not do this for 200 folders, im looking for a command line tool

> that will allow me to do this so i can just script it.

>

> Thanks

> Justin

>

> "Pegasus (MVP)" <I.can@fly.com> wrote in message

> news:uOLLTxt$HHA.5164@TK2MSFTNGP05.phx.gbl...

>>

>> "Justin Rich" <jrich523@yahoo.spam.com> wrote in message

>> news:Ok39aLt$HHA.5424@TK2MSFTNGP05.phx.gbl...

>>>i have a bunch of folders that need to be taken over and perms reset.

>>>(basically roaming profile security, user has access but the admin doesnt

>>>and i need the admin to)

>>>

>>> I know once upon a time there was a script that used cacls to do this

>>> but i cant find it and im not having much luck with it.

>>>

>>> I have downloaded xcacls and have tried to do xcacls c:\folder /g

>>> administrators:OF /e

>>>

>>> its giving me an access denied which doesnt make sense, i obviously dont

>>> have access, thats why im using the O security modifier..

>>>

>>> any thoughts?

>>>

>>> Thanks

>>>

>>

>> You need to seize ownership of these folders. Click

>> Start / Help and look for "ownership" if unsure how

>> to do this.

>>

>

>


×
×
  • Create New...