Hi,
I have written a script to copy all files and folders as a backup. Problem is when it gets to the Profiles folder(which is used for roaming profiles ) the admin does not have rights to these folders and therefore halts the script. I have tried changing ownership of these file to the local admin of our server(DC) and also to myself(Domain Admin). When i do this however when a user logs on the client is unable to find the roaming profile.. even though he still has rights. To fix this i delete the profile on the server and have the client relogin and logout to save his local profile on the server. My question is how can i grant myself rights to others profile folders without corrupting it so i can back it up?
Bill
I have written a script to copy all files and folders as a backup. Problem is when it gets to the Profiles folder(which is used for roaming profiles ) the admin does not have rights to these folders and therefore halts the script. I have tried changing ownership of these file to the local admin of our server(DC) and also to myself(Domain Admin). When i do this however when a user logs on the client is unable to find the roaming profile.. even though he still has rights. To fix this i delete the profile on the server and have the client relogin and logout to save his local profile on the server. My question is how can i grant myself rights to others profile folders without corrupting it so i can back it up?
Bill