If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Automation of Permissions
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 |
Ads |
#2
|
|||
|
|||
Automation of Permissions
"Phyxious" wrote in message ... 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. |
#3
|
|||
|
|||
Automation of Permissions
"Phyxious" wrote in message ... 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. |
Thread Tools | |
Display Modes | |
|
|