Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Remove duplicate NTFS permissions

Thread Tools
 
Search this Thread
 
Old 05 February 2007, 12:19 PM
  #1  
Sonic'
Scooby Regular
Thread Starter
 
Sonic''s Avatar
 
Join Date: Dec 2002
Location: Couch Spud
Posts: 9,277
Likes: 0
Received 0 Likes on 0 Posts
Default Remove duplicate NTFS permissions

Is there any way of removing duplicate NTFS permissions on a set of files and folders

I have some 3,000 folders that appear to have duplicate NTFS permissions, and want to know if there is an easy way of doing it (utility, script etc) than having to manually go into each folder and remove the permisssions by hand

Cheers
Old 05 February 2007, 12:50 PM
  #2  
HankScorpio
Scooby Regular
 
HankScorpio's Avatar
 
Join Date: Feb 2004
Posts: 5,848
Likes: 0
Received 0 Likes on 0 Posts
Default

Not sure what you mean by duplicate but cacls or xcacls from MS will let you script it easily.
Old 05 February 2007, 12:57 PM
  #3  
Sonic'
Scooby Regular
Thread Starter
 
Sonic''s Avatar
 
Join Date: Dec 2002
Location: Couch Spud
Posts: 9,277
Likes: 0
Received 0 Likes on 0 Posts
Default

Duplicate as in

the same user is listed twice in the NTFS permissions box (windows 2003 DC)

eg:

user@domain.com
user@domain.com
Domain\Group
Domain\Group

I need to remove all the duplicates

They were brought in by using Subinacl from two different domains, and ended up with duplicates on all users home directories
Old 05 February 2007, 04:48 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

CACLS
Old 05 February 2007, 06:18 PM
  #5  
Sonic'
Scooby Regular
Thread Starter
 
Sonic''s Avatar
 
Join Date: Dec 2002
Location: Couch Spud
Posts: 9,277
Likes: 0
Received 0 Likes on 0 Posts
Default

Cheers David, I will give it a try when I am back on that site on Thursday

Old 05 February 2007, 06:33 PM
  #6  
HankScorpio
Scooby Regular
 
HankScorpio's Avatar
 
Join Date: Feb 2004
Posts: 5,848
Likes: 0
Received 0 Likes on 0 Posts
Default

Where's my cheers and smiley ?
Old 05 February 2007, 07:10 PM
  #7  
Sonic'
Scooby Regular
Thread Starter
 
Sonic''s Avatar
 
Join Date: Dec 2002
Location: Couch Spud
Posts: 9,277
Likes: 0
Received 0 Likes on 0 Posts
Default

Thanks as well Hank
Old 05 February 2007, 08:05 PM
  #8  
HankScorpio
Scooby Regular
 
HankScorpio's Avatar
 
Join Date: Feb 2004
Posts: 5,848
Likes: 0
Received 0 Likes on 0 Posts
Default

I was first!

Good luck with it.
Old 07 February 2007, 10:57 PM
  #9  
Kieran_Burns
Scooby Regular
Support Scoobynet!
iTrader: (1)
 
Kieran_Burns's Avatar
 
Join Date: Jul 2004
Location: There on the stair
Posts: 10,208
Likes: 0
Received 0 Likes on 0 Posts
Default

I use a great util called fileacl - bloody marvellous piece of code http://www.gbordier.com/gbtools/fileacl.htm

VERY useful in resetting ALL the inherited perms in a HUGE folder tree
Old 08 February 2007, 09:36 AM
  #10  
Sonic'
Scooby Regular
Thread Starter
 
Sonic''s Avatar
 
Join Date: Dec 2002
Location: Couch Spud
Posts: 9,277
Likes: 0
Received 0 Likes on 0 Posts
Default

Thanks Kieran, I'll take a look at it as it's Thursday and I am now back on site

I don't want to reset any permissions though, I only need to remove the duplicates

Steve
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
just me
Non Scooby Related
26
03 January 2020 11:12 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
S600HBY
Subaru Parts
0
25 September 2015 09:46 AM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: Remove duplicate NTFS permissions



All times are GMT +1. The time now is 07:52 AM.