Grant an account rights to read and modify files in all Redirected Documents folders?

We have set up redirected Documents folder with the default recommended permissions that does not grant Administrators any access to the folders.  If an administrator needs access to a folder, they take ownership of the folder, grants themselves permissions
and does whatever they need to do with the folder such as delete it or give access to a new person.  This is rarely needed so it is not a big deal.
However,  we  now need to import everyone's Outlook PSTs (stored in their redirected MyDoc's so they are backed up) into their new  Exchange Archive mailboxes.  We will also need to be able to verify all PSTs are gone from the file server
once the contents are imported into their archive mailbox.  We also need to be able to run reports showing which users are storing music and video files in their folders and how much.
When I tried to run Windirstat against the share containing the redirected MyDocs folders to see what file types where taking up space, I got very incomplete results even with using psexec running as system account due to inadequate permissions on the user's
folders.  
We also need  the PST Capture Tool to have rights to read into their documents folders and move any psts found into the users archive mailbox.
Rather than having to go to each user's redirected documents fiolder one by one and take ownership to change permissions, is there a more efficient way to have an account running the PST Capture Tool and WindirStat have access to read and change files in
the user's redirected documents folders?
I thought of just removing the option in the GPO that says "Grant the user exclusive rights to My Documents," but I don't think that will work on pre-existing
folders that already have permissions set.

Hi,
Based on my research, if you already have a bunch of existing redirected My Documents folders set up with the
Grant the user exclusive rights to My Documents check box selected, the only documented way to regain access to the folders is to take ownership of each individual folder and manually edit the permissions to give the Administrators group full
control.
We can use powershell script to help regain access to the folders, for more details, please go through the below link:
http://mypkb.wordpress.com/2008/12/29/how-to-restore-administrators-access-to-redirected-my-documents-folder/
Regards,
Yan Li
Regards, Yan Li

Similar Messages

  • Read and Modify NTUser.DAT file

    Hello All,
    I've to perform the uninstall operations of activesetup in a console application based in C#.
    The tasks is to mount the NTUser.Dat file of all the users of system and search the HKLM and HKCU hives of each user and remove corresponding registry entries related to activesetup.
    I've found the RegLoadKey method but couldn't found the read and modify methods to treat NTUser.dat for my requirement.
    I've found one link:-
    https://www.daniweb.com/software-development/vbnet/threads/108278/load-registry-hive
    But even this doesn't perform the required operations.
    Please share some suggestions or Code examples to perform this operation?
    Thanks in Advance.
    TECHIT_ASHISH

    Hi
    TechIT_Ashish,
    The Ntuser.dat file is a registry file. Each user's Ntuser.dat file contains the registry settings for their individual account. The Windows registry, as described by Microsoft, is a "central hierarchical database" that contains information about
    the software, hardware and user profiles contained on a computer.
    So about read that file, the.NET Framework supports a lot and in C# the RegistryKey class.
    You can use the
    RegLoadKey P/Invoke.
    [DllImport("advapi32.dll", CharSet=CharSet.Auto, SetLastError=true)]
    public static extern int RegLoadKey(uint hKey,string lpSubKey, string lpFile);
    //API'used
    // Loading a Hive "C:\NTUSER.DAT"
    RegLoadKey(HKEY_USERS,"NTUSER.DAT",@"C:\NTUSER.DAT");)
    You can get some hints from Load registry hive from C# fails 
    Modify NTUser.DAT file, I am afraid there is no some build-in method in .Net Framework, after some research, I've found use Script to modify ntuser.dat.
    http://www.experts-exchange.com/Networking/Windows_Networking/Q_21220278.html
    http://blogs.technet.com/b/deploymentguys/archive/2008/06/06/useful-script-number-5-adjusting-the-default-user-registry-hive.aspx
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience
    to you. 
    Microsoft does not control these sites and has not tested any software or information found on these sites;Therefore, Microsoft
    cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email a

    Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). When I check the file it shows Zero KB downloaded but the file appears - any suggestions?

    Obviously your download was not successful.
    What is your operating system?  How exactly do you download such files?

  • Original and modified file folders in iPhoto

    I just loaded photos into iPhoto and the files populated in both the Originals and Modified file folders in iPhoto.  None of these photos have been modified.  I'm concerned with conserving disk space on my Mac.  How do I keep this from happening moving forward?

    Your camera has an Auto-Rotate feature. However, the camera does not actually rotate any pixels in the file, but instead flags it with an instruction: "Display me this way". Because iPhoto integrate with other apps it automaticlly creates the modified version. Otherwise photos would turn up in your emails or word processing documents sideways, as these apps don't know nything about such tags.
    If you then try to Revert to Original, iPhoto will remove the edited version. However, when it then looks at the Original file again, it sees the flag, and creates a new rotated version. This loop will run as long as you Revert to the Original. The solution is to either a: turn off the Auto-Rotate feature on your camera or b: rotate the photos prior to importing them to iPhoto.
    Going forward: digitial photography take up lots of space. Don't be concerned about it. Buy a large external drive and put your iPhoto Library on it.
    Regards
    TD

  • When will Apple have a searchable text reader and upload file capability?

    When will Apple have a searchable text reader and upload file capability? I have a large text file I need to upload to my iPhone, search, and dial.
    Anything planned?

    I had a Palm the I used for work and travel it had a very nice application called DOCUMENTS TO GO. It allowed you to upload, view, and edit .doc, .xls, and .ppt files. this was very handy when traveling. Also, I could sync my palm with my iMac and work PC using bluetooth, took care of the file transfers as well. I would like to have the same capability on my iPhone. I bought it to replace all of my old stuff i need it to the same as my old stuff. I hope that Apple reads this and gets on the ball. Until then I still have to carry my Palm or thumb drive on trips.

  • Quickest method for reading and writing files

    Hi
    I need help regarding file operations.(Reading and Writing). Currently I am using BufferedReader and BufferedWriter to read and write files. But the files (XML) are very huge files(from 30 -50 mb). This is slowing the application to a great extent. Is there any other approach to perform the above mentioned operations on XML files in a fast manner.
    Thank You
    Mansoor.

    Hi
    Can u let me know how to use the java.nio pavkage for primitve data types(int,float..., boolean). I have tried it but found no success.
    Thank You
    Mansoor

  • Very high log file sequential read and control file sequential read waits?

    I have a 10.2.0.4 database and have 5 streams capture processes running to replicate data to another database. However I am seeing very high
    log file sequential read and control file sequential read by the capture procesess. This is causing slowness in the database as the databass is wasting so much time on these wait events. From AWR report
    Elapsed: 20.12 (mins)
    DB Time: 67.04 (mins)
    and From top 5 wait events
    Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
    CPU time 1,712 42.6
    log file sequential read 99,909 683 7 17.0 System I/O
    log file sync 49,702 426 9 10.6 Commit
    control file sequential read262,625 384 1 9.6 System I/O
    db file sequential read 41,528 378 9 9.4 User I/O
    Oracle support hasn't been of much help, other than wasting my 10 days and telling me to try this and try that.
    Do you have streams running in your environment, are you experiencing this wait. Have you done anything to resolve these waits..
    Thanks

    Welcome to the forums.
    There is insufficient information in what you have posted to know that your analysis of the situation is correct or anything about your Streams environment.
    We don't know what you are replicating. Not size, not volume, not type of capture, not rules, etc.
    We don't know the distance over which it is being replicated ... 10 ft. or 10 light years.
    We don't have any AWR or ASH data to look at.
    etc. etc. etc. If this is what you provided Oracle Support it is no wonder they were unable to help you.
    To diagnose this problem, if one exists, requires someone on-site or with a very substantial body of data which you have not provided. The first step is to fill in the answers to all of the obvious first level questions. Then we will likely come back with a second level of questioning.
    But when you do ... do not post here. Your questions are not "Database General" they are specific to Streams and there is a Streams forum specifically for them.
    Thank you.

  • How to read and XSD file in java prospective in NWDS

    Hi !!
    anybody can help me that
    how to read and XSD file in java prospective in Netweaver developer Studio
    Regards
    Abhishek Agrahari

    I guess you can make it more clear...

  • What do I need to do to be able to read and write files to a Seagate Backup Plus Slim Portable Drive on BOTH a Mac and a PC? I downloaded "Paragon NTFS for Mac" onto my Mac, so now I can write to the drive, but when I plug it into a PC it won't work.

    What do I need to do to be able to read and write files to a Seagate Backup Plus Slim Portable Drive on BOTH a Mac and a PC? I downloaded "Paragon NTFS for Mac" onto my Mac, so now I can write to the drive, but when I plug it into a PC it won't work.

    If the HDD is formatted NTFS, then it suggests that there is a problem with the PC.  Check with the manufacturer.
    Ciao.

  • Read and write files

    i am using IE as brower,. how do i change the properties so that i can let an applet to read and write files on my system? thank you, for help.

    DON'T POST MULTIPLE TIMES!
    Proper English:
    I am using Internet Explorer as my web browser. How do I change the properties so that an applet can read and write files to my local system? Thanks for any help.
    Answer) Search on Java and security in the forum search or google. This topic is covered numerous times.
    DeltaCoder

  • I have downloaded adobe reader and my file still wont open

    I have downloaded adobe reader and my file still wont open

    Have you accepted the license agreement for Reader?
    If not, go to C/Program Files (or Program Files (x86))/Adobe/Reader 11.0/Reader
    Double click the "eula.exe" file (it may just say "eula")
    Accept the license agreement.
    Open Reader and you should be able to open PDFs.
    If it's another issue, please let us know.

  • I've just installed mountain lion and my files are all out of their previous folders. Can I set them back or do I need to manually put them back in order??

    I've just installed mountain lion and my files are all out of their previous folders. Can I set them back or do I need to manually put them back in order??

    Hi Thomas,
    Thanks for the response.  So, after the computer did it's restart thing after installing I went into finder where I usually have everything come up including my Macintosh HD folder and all it's folders and files.. Anyway it was this that hadn't come up and all the files were listed under All My Files and out of all their folders.  I totally switched the computer off after posted the problem and now having switched it back on I see that it's all there and in it's proper files. 

  • Granting an admin rights to view and execute a task with user actions

    I am trying to grant an admin the rights to view and execute a new task that i have created from the search results and user actions applet.
    I have added an auth type to the authorization types configuration object with the following:
    <AuthType name="terminateUser" extends="TaskDefinition,TaskInstance,TaskTemplate"/>
    I created a new task and assigned it this auth type. I then created the new admin group and assigned the following permissions:
    <Permission type='terminateUser' rights='View'/>
    I then added this capability to the admin role to which the user has been assigned. This admin role also has the view user capability and has been assigned to the top level of this organization as a controlled organization.
    I also added the task to the user actions configuration so that the menu item appears in the context menu and on the find users page.
    The user can see all users but cannot see the new task. The only thing that is visible is the "view" menu item.
    I have other users that have lots more capabilites that can execute this task with no problems. I am wondering if the view user capability is the problem or is there some other capability that anyone knows of that I must add in order to allow this admin role to view and execute this task.
    Thanks,
    Ruth

    BTW, the answer is to restart the app server. Duh!
    Ruth

  • Read and modify a file

    Hi,
    i'm very new in java programming so please don't laugh at me.
    I want to read out and modify the content of a File (txt).
    So please can anyone give me the code, which can do that.
    I would like to do this:
    if telephonnumber is in any line, then read this line.
    Thank you for your support
    Andy

    Hi,
    Hope this sample helps u.Have a identifier like say # or something unique before the telephone number and when u identify that,read the telephone number.
    import java.io.*;
    class FileTest
         public static void main(String[] args) throws Exception
              FileInputStream fin=new FileInputStream("c:\test.txt");
              BufferedReader br=new BufferedReader(new InputStreamReader(fin));
              String strLine=new String();
              StringBuffer sbBuffer=new StringBuffer();
              while ((strLine=br.readLine())!=null)
    if(str.indexOf("#")!=-1)
                   //read the telephone number here
    }

  • How to burn read and write files on DVD

    I would like to know how to burn DVDs (image files) with the Read and Write setting. I have changed the settings in Get Info for the image files to Read and Write for Owner, Group and Others and yet when I burn the DVD and try and copy the files back onto the hard drive (to test if it works or not) it won't allow me. When I check the Get Info it says Read and Write for owner (greyed out) and Read Only for Group and Others (greyed out too).
    I have also tried to change the status of the blank DVD before adding files and after adding the files (but b4 the burn) to Read and Write, this works but then during the burn process the DVD or burner changes my settings to Read Only.
    I am burning with Finder and have tried with Toast 10 Titanium. What am I doing wrong, or not doing at all?! I'm going loopy with frustration!

    Kiraly, I agree that the actual problem here might be something else, but as a side issue there seems to be a difference in the way permissions are handled when a file copy is made using Finder compared to when the copy is made using the cp copy in Terminal. At least in my Tiger system, Finder preserved the permission structure, though not the ownership, when it copied a file, whereas cp used the OS defaults.
    I tried the following experiment:
    From my test user account "t", I created a textfile named ReadWrite.txt, and gave it Read+Write permissions for Owner, Group, and Others. I then burned it using Finder to a DVD which I named PermissionTest, and then unchecked the "Ignore Ownership" box on PermissionTest.
    The original ownership and permissions were preserved on the DVD, though of course you couldn't actually write to anything there:
    xxG5-Computer:~ t$ ls -l /Volumes/PermissionTest/ReadWrite.txt
    -rw-rw-rw- 1 t t 15 Sep 13 18:25 /Volumes/PermissionTest/ReadWrite.txt
    I then copied the file from the DVD to the Desktop using Finder, and the permissions were preserved!
    Finder copy:
    xxG5-Computer:~ t$ ls -l /Users/t/Desktop/ReadWrite.txt
    -rw-rw-rw- 1 t t 15 Sep 13 18:25 /Users/t/Desktop/ReadWrite.txt
    I then trashed the Finder copy of ReadWrite,txt on the desktop, and made a second copy from the DVD, but this time I used the cp command from Terminal instead of using Finder. This time the permissions were not preserved, but reverted to the OS default:
    cp copy:
    xxG5-Computer:~ t$ cp /Volumes/PermissionTest/ReadWrite.txt Desktop
    xxG5-Computer:~ t$ ls -l /Users/t/Desktop/ReadWrite.txt
    -rw-r--r-- 1 t t 15 Sep 13 19:43 /Users/t/Desktop/ReadWrite.txt
    I then switched to a different user account "t1", and repeated the above with the same DVD, first copying the ReadWrite.txt file to the desktop using Finder, and then using cp. The ownership of the copied file changed from t to t1 in both cases, but the permission structure again was preserved in the Finder copy but not in the cp copy:
    DVD file:
    xxG5-Computer:~ t1$ ls -l /Volumes/PermissionTest/ReadWrite.txt
    -rw-rw-rw- 1 t t 15 Sep 13 18:25 /Volumes/PermissionTest/ReadWrite.txt
    Finder copy:
    xxG5-Computer:~ t1$ ls -l /Users/t1/Desktop/ReadWrite.txt
    -rw-rw-rw- 1 t1 t1 15 Sep 13 18:25 /Users/t1/Desktop/ReadWrite.txt
    cp copy:
    xxG5-Computer:~ t1$ cp /Volumes/PermissionTest/ReadWrite.txt Desktop
    xxG5-Computer:~ t1$ ls -l /Users/t1/Desktop/ReadWrite.txt
    -rw-r--r-- 1 t1 t1 15 Sep 13 19:51 /Users/t1/Desktop/ReadWrite.txt
    I got similar results when I tried copying a file with Read+Write permissions for all from a USB flash drive to the Desktop, again with the "Ignore Ownership" box unchecked.

Maybe you are looking for

  • "Save as PDF" hangs Finder

    My colleague is trying to save PDFs from Word 2011 using our office letter template, by using either Print>Save as PDF, and using Word's own Save As>PDF. The PDFs that this produces seem to be corrupted, as when opening them using either Adobe Acroba

  • Second Display Menu Font sizing bug...

    A bug that's been around far too long has to do with menu text on the second display screen not adjusting when the custom identity font is changed (reduced in our case).  It would make sense for the font size to be the same on both displays.  The fon

  • Adding Cell in a row in Smart Form

    Hi All, Can anybody please tell how to add a cell in the row of a table in smart forms. Thanks

  • Clearing history to cancel submissions?

    Does clearing history cancel all compression submissions? if not, how do you cancel them if youve cleared your history?

  • Floating button not repainting

    I have a class (MyButton) that extends JButton. In the class, I'm handling mouse events to make the button "raise up" from a toolbar when the mouse pointer moves across the button (much like buttons on the IE or Netscape toolbars). When the mouse lea