Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

5 Answers

up vote 1 down vote accepted

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.

share|improve this answer
    
This worked. Thanks. –  maxtopus Jun 15 '09 at 22:23
add comment

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

share|improve this answer
    
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 '09 at 21:35
add comment

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

share|improve this answer
    
I can't try this, it's a remote server. –  maxtopus Jun 15 '09 at 21:29
add comment

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.

share|improve this answer
    
right... although i wouldnt call windows 2003 resource toolkit from almighty microsoft a 3rd party tool ;-] –  pQd Jun 15 '09 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 '09 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 '09 at 23:39
add comment

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.

share|improve this answer
1  
I need to remove it so I can give a special group permissions to it. This KB has more detail > support.microsoft.com/kb/926959 –  maxtopus Jun 15 '09 at 21:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.