|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
|
Deleting corrupt files in NT Workstation
We have a large group of files stored on our server, and we need to delete
them. If we go to ctrl-a and hit delete; we cannot delete the files until we individually take ownership of the files. This can be time consuming because of the number of subfolders in the directory. We tried using CACLS from the NT resource kit, but this did not have an option to take ownership, but only to change the attribute from read, change, or full control. Does anyone have any ideas for running a script that will allow for the domain admin or a paticular user to take ownership of a large batch of files? |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 1999
Posts: 355
|
NT 101
if the files are all under one directory, you can right on that directory then choose properties/security/ownership/take ownership at that point, it will ask you to take ownership of all files or directories. that could screw up your permissions if some of your folders need to be owned by someone else, but why would any normal user need to own most directories if the group or user's permissions are set properly?
hmmmm...why can't you just give yourself full control, replace permissions on subdirectories and existing files, then delete everything? if you really must script it, there is always an NT version of chown in the resource kit tools that should do what you need. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|