Help finding folders that have denied acces - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
Thread Tools Display Modes
Old 08-13-2004, 03:10 PM   #1 (permalink)
Newb Techie
Join Date: Aug 2004
Posts: 1
Default Help finding folders that have denied acces

Iam trying to search a server for all the folders on it,that have denied access.

My colleague is trying to move all the data off of one server, unto another but there are some folders that access is denied to.

These folders may have been modified by users so that no one but them has access to them, even though we are the administrators.

I need a way to search the directory of folders on the server and identify which folders my account wont have access to, before attempting to copy or move the folder and then get the windows error.

I hope iam being clear enuff, and not to nooby.

crixx_creww is offline  
Old 08-13-2004, 05:09 PM   #2 (permalink)
Master Techie
Join Date: Oct 2003
Posts: 2,258

This is what I would do. First is use WMI to find the access on all of the folders. Then based on the folders you have access to, print all of the paths to a log and then once the WMI piece is done, process the log to copy the data to the new location. Or you can do it actively with a for each loop. The WMI class WIN32_directory has a flag for both readable and writable as well as access mask. You can use any of those to identify your access.
Good Luck
Inaris is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 09:44 AM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.