PC Review


Reply
Thread Tools Rate Thread

Automation of Permissions

 
 
Phyxious
Guest
Posts: n/a
 
      6th May 2008
I am trying to find an easy way to copy permissions on a local machine. We
are switching users from one domain to another so any files or folders
created by the user from the old domain will not be available to the same
user on the new domain.

Is there a program or a way to script, to search every file and folder's
permissions, and wherever Domain1\username is apply Domain2\username to those
files and folder with the same exact permissions??

If I am leaving anything out or you just don't understand what I am asking,
please do not hesitate to slap me

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      6th May 2008

"Phyxious" <(E-Mail Removed)> wrote in message
news:960E3EA9-80A4-4DE1-95B7-(E-Mail Removed)...
>I am trying to find an easy way to copy permissions on a local machine. We
> are switching users from one domain to another so any files or folders
> created by the user from the old domain will not be available to the same
> user on the new domain.
>
> Is there a program or a way to script, to search every file and folder's
> permissions, and wherever Domain1\username is apply Domain2\username to
> those
> files and folder with the same exact permissions??
>
> If I am leaving anything out or you just don't understand what I am
> asking,
> please do not hesitate to slap me
>


Permcopy.exe (Windows Resource Kit) can be used when copying
permissions from one area to another. However, your case is different.
If I understand you correctly then you have created a new set of users
on the new domain, using the same account names as on the old domain.
In spite of the identical name, Windows would treat them as different
users, hence permcopy would not achieve the desired aim.

Dumpacl.zip from http://robot.pbwiki.com/UsefulTools includes the file
"SystemTools.exe" which lets you list the ACLs of all folders on a
partition. You could use this list as a basis for a script to duplicate
those same permissions on the new server. This is not a trivial task -
I estimate that it would take some three hours to write & test such
a program in VB Script.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access automation leaves Excel open which in turn locks 2nd automation attempts EagleOne@discussions.microsoft.com Microsoft Access 8 30th Jun 2008 01:27 AM
Supressing the ctrl-c and other keys during word automation in automation apondu Microsoft VB .NET 1 23rd Jul 2007 10:45 PM
Supressing the ctrl-c and other keys during word automation in automation apondu Microsoft Powerpoint 1 20th Jul 2007 10:56 AM
User account automation:account is created in site1 OK, but when creating the folders/permissions on remote servers, it fails (replication) Marlon Brown Microsoft Windows 2000 Active Directory 4 31st Aug 2004 05:50 PM
Outlook Automation: Permissions Problem DDJ Microsoft Outlook 5 27th Jan 2004 02:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:45 PM.