Avatar of Yann Shukor
Yann Shukor
Flag for France asked on

"unable to assign Admistrator as owner"

Hi

On a Windows 200 server I have some files that aren't getting saved during my backup

I checked the files and administrator doesn't have access to them

TakeOwn /F *.* /A /D Y

Open in new window

this returns:
unable to assign Admistrator as owner

CScript xcacls.vbs *.* /G Administrateur:F /I Enable /F 

Open in new window

this returns:
Error -2147217406:  occurred setting Win32_LogicalFileSecuritySetting object. (Msg#501)
Error description: Not found

any ideas ?
yann
Windows OSOS Security

Avatar of undefined
Last Comment
Yann Shukor

8/22/2022 - Mon
Scobber

Are you spelling administrator correctly?
What server OS is it? 2000 2003 2007
im assuming 2000

im some circumstances you need to reference a user by computername\username
are you logged in as 'computername\administrator'

if you are run
takeown /f "c:\path\to\folder" /R /A
cacls "c:\path\to\folder" /g computername\administrator:F /C /T
cacls "c:\path\to\folder"

make sure you have no deny entries
Yann Shukor

ASKER
Yes, sorry, Windows 2000

administrateur, yes it is a french server

Tried suggested commands:
takeown ; same error as before
cacls:
No mapping between account names and security IDs was done.
Scobber

was this a domain member or a domain controller?

sounds to me that the domain it is / was a member of cannot be found.

in any case you may need to check the AD hierarchy for the server, setting dns correctly,
 unjoin the domain or use dcpromo to kill the domain so you can make the computer operate standalone.

all else fails pull the drives and takeown on another system
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
Yann Shukor

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Yann Shukor

ASKER
situation is fixed