1

I'm trying to remove the special attribute from the folder C:\windows\tasks using the command attrib -s C:\windows\tasks however I'm getting:

Access denied - C:\windows\Tasks

I am a local administrator on the server (It's Windows 2003 SP2) and I didn't find any special GPO applied to those settings.

What other reasons could be causing this behavior?

5 Answers 5

1

You could try a solution like this, with cacls, or use the more-powerful subinacl tool which may well let you do it in-place.

0
0

try taking ownership of the file/directory. you might use takeown from w2003 resource toolkit.

1
  • Used takeown /f C:\windows\tasks Got > SUCCESS: The file (or folder): "C:\windows\tasks" now owned by user "Domain\User". Still getting access denied.
    – maxtopus
    Jun 15, 2009 at 21:35
0

You can also try booting up in safe mode or command prompt mode and trying it.

1
  • I can't try this, it's a remote server.
    – maxtopus
    Jun 15, 2009 at 21:29
0

pQd is correct, Ownership is likely the issue here.

I'd try using the Win2K3 native Ownership tools before a third party tool. Right click on the folder, and select Properties, select the Security Tab, then Click on the Advanced Button, and select the Ownership tab. From here you can reassign ownership to yourself, applying the changes to child objects if necessary.
Then you should be able to make the changes you are looking for.

3
  • right... although i wouldnt call windows 2003 resource toolkit from almighty microsoft a 3rd party tool ;-]
    – pQd
    Jun 15, 2009 at 21:27
  • You can't access the security tab. This specific folder has the +s attribute. This attribute removes all the administrative tabs, except for "General
    – maxtopus
    Jun 15, 2009 at 21:41
  • pQD, Sorry, I did not fully read your answer, I once had a tech bring in a utility called takeown, but it was from someone else, so I missed that you were pointing to the W2k3 Resource Kit. My Bad.
    – BillN
    Jun 15, 2009 at 23:39
0

Why do you need to remove the system attribute from the system folder? You'll notice that it has a shell special icon indicting it is the tasks location. Take ownership if th asks folder and you should be able to change it.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .