Ownership of folders in file server

Hi Guys,
I am facing a problem with my file server. I have a file server installed windows server 2008 R2 Standard SP1 in it. There are 4 drives and almost 99% folders are created by 1st domain user account having domain admin rights.
Because I was facing problem that 2nd domain user account having domain admin rights was not able to open, change permissions of shared folders and giving error access is denied, so I logged on with 1st domain user account having domain admin rights
and transferred the ownership to local admin group (local admin user account resides in this group). So that I can make any kind of changes through local admin account.
Now I can open and provide permissions on single folders through local admin account but still I cant select 'replace all child object permissions from this object' option any where while assigning permissions and getting error access denied.
And I can see 1st domain user account having domain admin rights is still present in ownership tab with local admin group. Ownership has transferred successfully because I got no error while doing that, so what would be the solution for this?
Is there any way we can remove unwanted owners from 'security-advanced-owner-edit' tab and can keep only one owner we want?

Hi,
I'm a little confuse about the process.
Why not just logon your 1st user and give 2nd user (or Domain Admins group) Full Control permission in NTFS permission instead? Transfer Ownership is not a common step for this purpose.
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • Taking Ownership of folders and files

    So I am doing what sure seems like way too much work to do something rather simple in GUI. There seem to be many topics on this and I base my code off of their results, but it isn't working entirely. Hopefully an easy one for you folks!  I am trying
    to take ownership of a path, be it a file or folder.  I DO NOT want to use a separate module like PSCX as not all machines will have the module.
    I created a function based off the code I found at the end of
    http://social.technet.microsoft.com/Forums/en-US/87679d43-04d5-4894-b35b-f37a6f5558cb/ that I can pass a path to singularly or I was hoping to be able to pipe Get-ChildItem to it.  When I do "Get-ChildItem -Path D:\Permissions\TopFolder -Recurse
    -Force | Take-Ownership" it seemed to work, but then I noticed it only seems to work going one layer deep. The text output for troubleshooting shows it recursing all the way through, but yet Owner is not being set all the way down.
    Folder layout:
    D:\Permissions\TopFolder
    D:\Permissions\TopFolder\FirstFolder
    D:\Permissions\TopFolder\FirstFile.txt
    D:\Permissions\TopFolder\FirstFolder\SecondFolder
    D:\Permissions\TopFolder\FirstFolder\SecondFile.txt
    D:\Permissions\TopFolder\FirstFolder\SecondFolder\ThirdFolder
    D:\Permissions\TopFolder\FirstFolder\SecondFolder\ThirdFile.txt
    Function Take-Ownership {
    [CmdletBinding(DefaultParameterSetName=”Set01”)]
    Param(
    [parameter(Mandatory=$true,ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,Position=1,ParameterSetName='Set01')]
    [string]$Path,
    [parameter(Mandatory=$true,ValueFromPipelinebyPropertyName=$True,ParameterSetName='Set02')]
    [Alias('FullName')][string]$FullPath
    ) # End of Param()
    Begin {
    # Check that script was Run as Administrator
    If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(`
    [Security.Principal.WindowsBuiltInRole] "Administrator")) {
    Write-Host -ForegroundColor Red -BackgroundColor Black "`n ERROR: You MUST have Administrator rights to run this script!"
    Write-Host -ForegroundColor Red -BackgroundColor Black " Re-run this script as an Administrator!`n"
    Break
    #P/Invoke'd C# code to enable required privileges to take ownership and make changes when NTFS permissions are lacking
    $AdjustTokenPrivileges = @"
    using System;
    using System.Runtime.InteropServices;
    public class TokenManipulator
    [DllImport("advapi32.dll", ExactSpelling = true, SetLastError = true)]
    internal static extern bool AdjustTokenPrivileges(IntPtr htok, bool disall,
    ref TokPriv1Luid newst, int len, IntPtr prev, IntPtr relen);
    [DllImport("kernel32.dll", ExactSpelling = true)]
    internal static extern IntPtr GetCurrentProcess();
    [DllImport("advapi32.dll", ExactSpelling = true, SetLastError = true)]
    internal static extern bool OpenProcessToken(IntPtr h, int acc, ref IntPtr
    phtok);
    [DllImport("advapi32.dll", SetLastError = true)]
    internal static extern bool LookupPrivilegeValue(string host, string name,
    ref long pluid);
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    internal struct TokPriv1Luid
    public int Count;
    public long Luid;
    public int Attr;
    internal const int SE_PRIVILEGE_DISABLED = 0x00000000;
    internal const int SE_PRIVILEGE_ENABLED = 0x00000002;
    internal const int TOKEN_QUERY = 0x00000008;
    internal const int TOKEN_ADJUST_PRIVILEGES = 0x00000020;
    public static bool AddPrivilege(string privilege)
    try
    bool retVal;
    TokPriv1Luid tp;
    IntPtr hproc = GetCurrentProcess();
    IntPtr htok = IntPtr.Zero;
    retVal = OpenProcessToken(hproc, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, ref htok);
    tp.Count = 1;
    tp.Luid = 0;
    tp.Attr = SE_PRIVILEGE_ENABLED;
    retVal = LookupPrivilegeValue(null, privilege, ref tp.Luid);
    retVal = AdjustTokenPrivileges(htok, false, ref tp, 0, IntPtr.Zero, IntPtr.Zero);
    return retVal;
    catch (Exception ex)
    throw ex;
    public static bool RemovePrivilege(string privilege)
    try
    bool retVal;
    TokPriv1Luid tp;
    IntPtr hproc = GetCurrentProcess();
    IntPtr htok = IntPtr.Zero;
    retVal = OpenProcessToken(hproc, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, ref htok);
    tp.Count = 1;
    tp.Luid = 0;
    tp.Attr = SE_PRIVILEGE_DISABLED;
    retVal = LookupPrivilegeValue(null, privilege, ref tp.Luid);
    retVal = AdjustTokenPrivileges(htok, false, ref tp, 0, IntPtr.Zero, IntPtr.Zero);
    return retVal;
    catch (Exception ex)
    throw ex;
    Add-Type $AdjustTokenPrivileges
    # Activate necessary admin privileges to make changes without NTFS perms on the folder
    [void][TokenManipulator]::AddPrivilege("SeRestorePrivilege") # Necessary to set Owner Permissions
    [void][TokenManipulator]::AddPrivilege("SeBackupPrivilege") # Necessary to bypass Traverse Checking
    [void][TokenManipulator]::AddPrivilege("SeTakeOwnershipPrivilege") # Necessary to override File Permissions
    $Admin = New-Object System.Security.Principal.NTAccount("BUILTIN\Administrators")
    $NewDirACL = New-Object System.Security.AccessControl.DirectorySecurity
    $NewFileACL = New-Object System.Security.AccessControl.FileSecurity
    $NewDirACL.SetOwner($Admin)
    $NewFileACL.SetOwner($Admin)
    } # End of Begin {}
    Process {
    if( $FullPath.Length -gt 0 ) {
    if( Test-Path $FullPath ) {
    $Path = $FullPath
    if( Test-Path $Path -PathType Container ) {
    "Take Ownership: $Path"
    $Folder = Get-Item $Path -Force
    $Folder.SetAccessControl($NewDirACL)
    } elseif( Test-Path $Path -PathType Leaf ) {
    "Take Ownership: $Path"
    $File = Get-Item $Path -Force
    $File.SetAccessControl($NewFileACL)
    } else {
    Write-Host -ForegroundColor Red -BackgroundColor Black "ERROR: Path does not exist: $Path"
    } # End of Process {}
    End { } # End of End {}
    } # End of Function Take-Ownership
    To run this I have been doing:
    PS D:\> $Folder = 'D:\Permissions\TopFolder'
    PS D:\> Get-Item $Folder | Get-Acl
    Directory: D:\Permissions
    Path Owner
    TopFolder DOMAIN\user1
    PS D:\> Get-ChildItem $Folder -Force -Recurse | Get-Acl
    Directory: D:\Permissions\TopFolder
    Path Owner
    FirstFolder DOMAIN\user1
    FirstFile.txt DOMAIN\user1
    Directory: D:\Permissions\TopFolder\FirstFolder
    Path Owner
    SecondFolder DOMAIN\user1
    SecondFile.txt DOMAIN\user1
    Directory: D:\Permissions\TopFolder\FirstFolder\SecondFolder
    Path Owner
    ThirdFolder DOMAIN\user1
    ThirdFile.txt DOMAIN\user1
    PS D:\>
    PS D:\> Get-Item $Folder | Take-Ownership
    Take Ownership: D:\Permissions\TopFolder
    PS D:\> Get-ChildItem $Folder -Force -Recurse | Take-Ownership
    Take Ownership: D:\Permissions\TopFolder\FirstFolder
    Take Ownership: D:\Permissions\TopFolder\FirstFile.txt
    Take Ownership: D:\Permissions\TopFolder\FirstFolder\SecondFolder
    Take Ownership: D:\Permissions\TopFolder\FirstFolder\SecondFile.txt
    Take Ownership: D:\Permissions\TopFolder\FirstFolder\SecondFolder\ThirdFolder
    Take Ownership: D:\Permissions\TopFolder\FirstFolder\SecondFolder\ThirdFile.txt
    PS D:\>
    PS D:\>
    PS D:\> Get-Item $Folder | Get-Acl
    Directory: D:\Permissions
    Path Owner
    TopFolder BUILTIN\Administrators
    PS D:\> Get-ChildItem $Folder -Force -Recurse | Get-Acl
    Directory: D:\Permissions\TopFolder
    Path Owner
    FirstFolder BUILTIN\Administrators
    FirstFile.txt BUILTIN\Administrators
    Directory: D:\Permissions\TopFolder\FirstFolder
    Path Owner
    SecondFolder DOMAIN\user1
    SecondFile.txt DOMAIN\user1
    Directory: D:\Permissions\TopFolder\FirstFolder\SecondFolder
    Path Owner
    ThirdFolder DOMAIN\user1
    ThirdFile.txt DOMAIN\user1
    PS D:\>
    I don't know why this isn't working.  The output text shows I went through the subfolders and files...HELP!
    Find this post helpful? Does this post answer your question? Be sure to mark it appropriately to help others find answers to their searches.

    Here is the end result. I am looking to add a '-Recurse'/'-Force' switches to give another option to not have to Get-ChildItem and pipe it to the function and possibly a '-User' parameter to be able to specify who to set as owner, but both of those ideas
    are untested.
    Here is the code.  Hope it helps someone else.
    Function Take-Ownership {
    <#
    .SYNOPSIS
    This function takes ownership of a file or folder and sets it back to 'BUILTIN\Administrators'.
    .DESCRIPTION
    This function takes ownership of a file or folder and sets it back to 'BUILTIN\Administrators'.
    This will work even when the user does not have ownership or existing permissions on the file or folder.
    .EXAMPLE
    PS C:\> Take-Ownership -Path $Path
    Takes ownership of the individual folder or file. The -Path is optional as long as $Path
    is the first parameter.
    .EXAMPLE
    PS C:\> Get-Item $Path | Take-Ownership
    Takes ownership of the individual folder or file.
    .EXAMPLE
    PS C:\> Get-ChildItem $Path -Recurse -Force | Take-Ownership
    Recurse through all folders and files, including hidden, and takes ownership.
    #>
    [CmdletBinding()]
    Param(
    [parameter(Mandatory = $true, ValueFromPipeline = $True, ValueFromPipelinebyPropertyName = $True, Position = 0)]
    [Alias('FullName')]
    [string]$Path
    ) # End of Param()
    Begin {
    # Check that script was Run as Administrator
    If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(`
    [Security.Principal.WindowsBuiltInRole] "Administrator")) {
    Write-Host -ForegroundColor Red -BackgroundColor Black "`n ERROR: You MUST have Administrator rights to run this script!"
    Write-Host -ForegroundColor Red -BackgroundColor Black " Re-run this script as an Administrator!`n"
    Return
    #P/Invoke'd C# code to enable required privileges to take ownership and make changes when NTFS permissions are lacking
    $AdjustTokenPrivileges = @"
    using System;
    using System.Runtime.InteropServices;
    public class TokenManipulator
    [DllImport("advapi32.dll", ExactSpelling = true, SetLastError = true)]
    internal static extern bool AdjustTokenPrivileges(IntPtr htok, bool disall,
    ref TokPriv1Luid newst, int len, IntPtr prev, IntPtr relen);
    [DllImport("kernel32.dll", ExactSpelling = true)]
    internal static extern IntPtr GetCurrentProcess();
    [DllImport("advapi32.dll", ExactSpelling = true, SetLastError = true)]
    internal static extern bool OpenProcessToken(IntPtr h, int acc, ref IntPtr
    phtok);
    [DllImport("advapi32.dll", SetLastError = true)]
    internal static extern bool LookupPrivilegeValue(string host, string name,
    ref long pluid);
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    internal struct TokPriv1Luid
    public int Count;
    public long Luid;
    public int Attr;
    internal const int SE_PRIVILEGE_DISABLED = 0x00000000;
    internal const int SE_PRIVILEGE_ENABLED = 0x00000002;
    internal const int TOKEN_QUERY = 0x00000008;
    internal const int TOKEN_ADJUST_PRIVILEGES = 0x00000020;
    public static bool AddPrivilege(string privilege)
    try
    bool retVal;
    TokPriv1Luid tp;
    IntPtr hproc = GetCurrentProcess();
    IntPtr htok = IntPtr.Zero;
    retVal = OpenProcessToken(hproc, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, ref htok);
    tp.Count = 1;
    tp.Luid = 0;
    tp.Attr = SE_PRIVILEGE_ENABLED;
    retVal = LookupPrivilegeValue(null, privilege, ref tp.Luid);
    retVal = AdjustTokenPrivileges(htok, false, ref tp, 0, IntPtr.Zero, IntPtr.Zero);
    return retVal;
    catch (Exception ex)
    throw ex;
    public static bool RemovePrivilege(string privilege)
    try
    bool retVal;
    TokPriv1Luid tp;
    IntPtr hproc = GetCurrentProcess();
    IntPtr htok = IntPtr.Zero;
    retVal = OpenProcessToken(hproc, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, ref htok);
    tp.Count = 1;
    tp.Luid = 0;
    tp.Attr = SE_PRIVILEGE_DISABLED;
    retVal = LookupPrivilegeValue(null, privilege, ref tp.Luid);
    retVal = AdjustTokenPrivileges(htok, false, ref tp, 0, IntPtr.Zero, IntPtr.Zero);
    return retVal;
    catch (Exception ex)
    throw ex;
    Add-Type $AdjustTokenPrivileges
    # Activate necessary admin privileges to make changes without NTFS perms on the folder
    [void][TokenManipulator]::AddPrivilege("SeRestorePrivilege") # Necessary to set Owner Permissions
    [void][TokenManipulator]::AddPrivilege("SeBackupPrivilege") # Necessary to bypass Traverse Checking
    [void][TokenManipulator]::AddPrivilege("SeTakeOwnershipPrivilege") # Necessary to override File Permissions
    } # End of Begin {}
    Process {
    # Process for taking Ownership of the folder
    # - Specify the NT Account user to set as Owner (BUILTIN\Administrators)
    # - Create a new ACL object for the sole purpose of defining a new owner
    # - Establish the new ACL as owned by BUILTIN\Administrators, thus
    # guaranteeing the following ACL changes can be applied.
    # - Then apply that update to the existing folder's ACL which merges
    # the proposed changes (new owner) into the folder's actual ACL
    # - - IN OUR CASE OVERWRITING THE OWNER
    # - Additional Documentation:
    # http://msdn.microsoft.com/en-us/library/System.Security.AccessControl(v=vs.110).aspx
    $Admin = New-Object System.Security.Principal.NTAccount("BUILTIN\Administrators")
    $NewDirACL = New-Object System.Security.AccessControl.DirectorySecurity
    $NewFileACL = New-Object System.Security.AccessControl.FileSecurity
    $NewDirACL.SetOwner($Admin)
    $NewFileACL.SetOwner($Admin)
    if( Test-Path $Path -PathType Container ) {
    $Folder = Get-Item $Path -Force
    $Folder.SetAccessControl($NewDirACL)
    } elseif( Test-Path $Path -PathType Leaf ) {
    $File = Get-Item $Path -Force
    $File.SetAccessControl($NewFileACL)
    } else {
    Write-Host -ForegroundColor Red -BackgroundColor Black "ERROR: Path does not exist: $Path"
    } # End of Process {}
    End { } # End of End {}
    } # End of Function Take-Ownership
    Find this post helpful? Does this post answer your question? Be sure to mark it appropriately to help others find answers to their searches.

  • Smart folders for file server

    A while back I got very excited about Spotlight and created some Smart folders to display my PNG, PSD and FLA files that live on our file server.
    Problem is that that when I click on them, they take ages to load. I assume Spotlight is not indexing the file server. If that's the case, can Smart folders ever been of any practical use for me?

    Hi, Paul.
    Spotlight neither works nor plays well with server / network-attached / shared volumes. See my recent post here for details.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Permission and ownership in Server 2003 and 2008 file server

    I have an issue but I am not sure if these are the designs of the file server permissions. I have one user who has the modify rights to modify/read and create folders in a share folder. In the share folder, she had created a subfolder; so she should
    be the owner of the subfolder and her security permission is modify. By right, modify does not have the rights to assign the permission to other users but as owner, she does. Does this mean that the folder owner supersede the security? And is this possible
    to avoid this? eg. folder owner but does not have the rights to assign permissions to other user to access. Thanks a lot.

    Hi Thim,
    >>Does this mean that the folder owner supersede the security?
    If the user is the Owner of the folder, he or she should have Full Control permissions to the folder,
    which means the user can do anything to the folder.
    >>And is this possible to avoid this? eg. folder owner but does not have the rights to assign permissions to other user to access.
    As far as I know, unless we deprive the user of the ownership, we can't achieve this.
    Regarding file and folder permissions, the following article can be referred to for more information.
    File and Folder Permissions
    http://technet.microsoft.com/en-us/library/cc732880.aspx
    Best regards,
    Frank Shen

  • File Server Migration - For ORG A Forest to ORG B Forest ( Need to create and Map Security Group automatically on new Migrated Folders - Please Help

    I have two forest With Trust works Fine .
    I have file server in ORG – A ( Forest ) with 2003 R2 Standard
    I have a File server in ORG  - B ( Forest ) With Windows server 2012 ( New Server for Migration )
    I have 1000 + folders with each different permission sets on ORG-A. We are using Security groups for providing permission on the share Folders on ORG A
    I need to Migrate  all the folders from ORG – A to ORG – B.
    I am looking for an automated method of creating Security Groups on AD during the Migration, Once the Migration is Done, I can add the required users to the security groups manually.
    Example.
    Folder 1 on ORG – A has Security Group Called SEC-FOLDER1-ORGA
    I need an automated method of Copying the files to ORG – B and Creating a new security Groups on ORG –B Forest with the same permission on parent and child Folders. I shall Add the users manually to the Group.
    Output Looks Like
    Folder 1 on ORG – B has Permission called SEC-FOLDER1-ORGB ( New Security Group )
    Also I need a summarized report of security Group Mapping, Example – Which security Group on ORGA is mapped with Security Group Of ORGB

    Hi,
    I think you can try ADMT to migrate your user group to target domain/forest first. Once user groups are migrated, you can use Robocopy to copy files with permission - that permission will continue be recognized in new domain as you migrated already. 
    Migrate Universal Groups
    http://technet.microsoft.com/en-us/library/cc974367(v=ws.10).aspx
    If you have any feedback on our support, please send to [email protected]

  • Can we create a file in temporary folders of the server?

    Hi all,
    can we create a file in the temporary folders of the server by getting the server temp path using System.getProperty("java.io.tmpdir") ?
    I dont have access to the server. I deployed my application in the server which should create a word file for me.
    I am trying to create a word file in the temporary folder of the server. Can my code create a file in the server to which I dont have access?
    Please come up with your help.
    Thanks,
    Phanindra.

    Hi:
    copy file to target folder
      CALL FUNCTION 'SCMS_FILE_COPY'                            "#EC *
        EXPORTING
          src_filename = t_source_file
          dst_filename = t_target_file
        EXCEPTIONS
          read_failed  = 1
          write_failed = 2
          OTHERS       = 3.
      IF sy-subrc <> 0.
        MESSAGE i208(00) WITH text-009.
        stop.
      ELSE.
    delete source file
        CALL FUNCTION 'SCMS_FILE_DELETE'                        "#EC *
          EXPORTING
            filename      = t_source_file
          EXCEPTIONS
            not_found     = 1
            name_too_long = 2
            OTHERS        = 3.
      ENDIF.

  • Remote server view not showing folders or files

    My customer uses Dw CS3 with XP SP3. Everything worked fine until their ISP changed their web server. After the change remote site view does not show folders or files although uploading to server works fine with Dw. If I try with Filezilla or any other FTP client everything works normaly. I'm no Dw expert just a sys.admin, but I don't know what settings I should try anymore. I tested this with dw cs 4 also and same problem there.
    If I check the FTP LOG from dw it shows the file listing correctly and that I have rights to the folders and files.

    Do you know what changed on the FTP server? I would love to know what it is. And if you have been able to solve the issue, then we might be able to provide the steps to reproduce/prevent the problem to Adobe's bug report form.
    I have had rather iffy experience with DW's FTP feature with various hosts through the years. Enough so that I only try out DW's FTP when I upgrade, and always resort to using a different FTP client. Although I tend to prefer FTP client software anyway, there are times when it would be convenient to use DW's features.
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.

  • Folders and Files access denied from Server 2008 on Windows 7

    I upgraded my server from 2003 to 2008. Now my Windows 7 machines can't open files in the Shared Documents on the server.  Error comes back with access denied.  Can use remote desktop with a Windows 7 machine and have access to the Shared Documents
    folder.  Any help as to why getting access denied would be great.

    Hi,
    Plesase check ntfs permisions and share permssions of the shared folder. You could try to set share permissions to Full Control for the Everyone group to see if the issue still exists. 
    Share and NTFS Permissions on a File Server
    http://technet.microsoft.com/en-us/library/cc754178.aspx
    Regards,
    Mandy
    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.

  • Configure EP6SP9 KM in a file server instead of KM Database

    Hi All,
    We are at EP6SP9 in Windows 2003.
    As a part of my user requirment, I need to set up all my KM folders in a file repository and not in KM Database. The users would view this folders as KM Folders and need to utilise all the facilities offered by KM like Versioning, subscription and notification.
    I need to also integrate the central ADS Server as the user management engine (Windows Authentication) so that all the users automatically logon to the portal when they log-on to the system.TREX also has to index through this documents in the file server.
    Need some advice on the same.
    1) I have seen a document entitled "Integration of Windows File Services into SAP KM Platform using SSO and WebDAV Repository Manager". Is this the one that I have to use for setting the system up or any other suggestions. Has anyone tried connecting KM to an file server Database.
    2) Can I utilise all the KM Functionalities with the documents and folders residing in a file server.
    Would love to interact with anyone who has worked on the same.
    Regards,
    Rajan.K

    There's already lots of information on the subject right here on SDN. Here are a few pointers to get you started:
    CM repository documentation in SAP Help:
    http://help.sap.com/saphelp_nw04/helpdata/en/62/468698a8e611d5993600508b6b8b11/content.htm
    Weblog with step-by-step instructions on creating an FSDB repository:
    Creating a CM Repository Manager - FSDB
    I basically just followed the weblog and it worked. In fact, some steps in the weblog are not necessary if you intend to use the default "documents" repository. In that case, just switch to FSDB persistence mode, add your network paths and it should work after restarting the engine.
    Note that the contents of your repository will be deleted once you switch unless you backup your files to the FSDB root prior to that.
    Hope this helps.

  • Changed laptops, now iTunes can't find my music on my file server

    Ok, here's what happened when I recently switched laptops
    - I use iTunes to point to the music I store on my file server via a network share (WinXP)
    - I manually manage my iTunes folders
    - I took the \My Documents\My Music\iTunes directory from my old laptop and copied it to the same location to my new laptop
    - Installed iTunes 9 on the new laptop
    - When iTunes9 loaded on the new laptop ALMOST all music files in my library loaded with an exclamation point indicating that it couldn't locate the file (even though the file locations never changed)
    Ok... so here's the problem. I have over 20,000 songs with ratings information and if I just re-add all the files from the network share to the iTunes library again then it looks like I'd lose those ratings.
    The only way that I can see to fix things is to individually point iTunes to the network share location of the file for each file... YUCK!
    Is there a script or something I can write to tell it to find these files, or at least copy the ID3 tags to the duplicated songs that I re-added from the network share.
    Any help is GREATLY appreciated!

    Something is different in the paths to the files....hence itunes cannot find them.
    Sound like you know about the ITL file, which is why you copied it over.
    What you can do is look in its companion XML file to see the paths itunes thinks it should be using.
    If your XML is really big, open it using WordPad instead of NotePad. About the 10th line down is the itunes preference setting for the itunes folder:
    key>Music Folder</key><string>file://localhost/K:/iTunes%20Music/</string>
    On my system it's K:/iTunes Music
    The %20 just indicates a space.
    Then each song will have its own path
    <key>Location</key><string>file://localhost/K:/iTunes%20Music/Cowboy%20Junkies/The%20Trinity%20Session/07%2 0200%20More%20Miles.mp3</string>
    Now....can you see ANYTHING funny in one of those song paths?Is there an extra space, a different user name, anything different than what you could browse to in Windows Explorer?

  • Source path too long :-Unable to delete mutiple number of folder and files from windows 2008 R2 file server

    Hi Team,
    we have a file server on windows server 2008 R2, I have copied some data from one server to another server using robocopy . I have checked access permission it seems okay no issues with access permission. but when i am trying to delete these folder i am
    getting below error message
    Error message:- 
    The source file name are larger than is supported by the file system.try moving to a location which has a shorter path name or try renaming to shortcut names before attempting this operations
    Regards,
    Triyambak 
    Regards, Triyambak

    I have tried everything , but nothing help , getting same error 
    could any one help me regarding this.
    Regards, Triyambak
    I have not looked at the other thread mentioned, but usually when this ends up happening, There are several ways to go about it.    One is to map a drive to the UNC path deeper into the folder structure.   
    So instead of C:\long\path\that\we\dont\want\files\in
    You map a drive.. lets say M:\   to     \\computer\c$\long\path\that\we\dont\want
    Now, when you open Explorer to M:\ you've elimintated the length of the path down to M:\files\in which is completely usable.
    The other way, is to shorten the names of everything.    For example...
    Folder structure like this:
    Root
    -----Folder1
    -----Folder2
    --------------Folder2A
    -----Folder3
    --------------Folder3A
    Rename all the folders to shorten up the path.     Rename Folder1 to '1' Rename Folder2 to '2', Rename folder3 to '3.    Then try to delete.  If it's still too long,  go one folder deeper.   Rename Folder2A to '1'  and
    Rename Folder3A to '1' and so on.     Basically keep renaming everything to a single digit character and eventually you'll shrink the path down to where you can shift-delete everything remaining.
    Hope that helps.    
    Brian / ChevyNovaLN

  • Migrate File Server data from one volume to another

    I am looking for the best way to handle this situation. We have a VHD that has a 4KB cluster size that is getting close to the 16TB mark so no expanding past that due to the cluster size. In the past whenever i needed to pull this off i would preload as
    much data as possible with robocopy, then during a maintenance window take the share offline, do a refresh with robocopy then flip everything that i needed to flip drive letter and share setup etc.
    I have the space to do a complete copy like this so that is not an issue. But other things to keep in mind are the data is deduplicated so we are talking 20TB total. The other is the backup of the File Server is done at a file level with DPM so DPM will
    see this as a new volume and be an issue.
    At this point i have time to plan and am just looking for ideas.

    Hi,
    If you want to copy files/folders from one Volume to another volume, you could use the File Server Migration Tool (FSMT) or Robocopy to accomplish.
    The tool can move all of the files from the shares on your original volume to the new volume.
    FSMT and Robocopy will not copy Share permissions but only NTFS permissions. So if the drive letter will not be changed, you can backup and restore the Share permission with steps here:
    Saving and restoring existing Windows shares
    http://support.microsoft.com/kb/125996
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How can I make a file server sync with a laptop when it connectsSOLVED

    Ok, first let me say that I looked on the Internet for this but didn't find what I was looking for. I'm going to be setting up a simple file server for my in laws soon...they use windows so I'll be using samba on the server side.
    They have 3 computers and want to be able to have all there files stored in one central place so they can share them easily and also have them backed up at the same time. They have 2 desktops and one laptop.
    The desktops are not a big deal to sync with the server because they are on all the time and I can just use a cron job or something. Then problem is the laptop..
    What can I do to make the laptop automatically sync when it gets on the network? 
    The catch is this needs to be ran from the server side so they have a "hands free" experience or whatever. If you know a way for the laptop to do this in the background I guess that would work too.
    I know this is probably a very simple task but so far everything I find the user would have to manually start the sync.
    Thanks in advance for you help!
    Last edited by jonrd (2008-07-27 04:28:57)

    Is it necessary that all the files are on the local hard disks? In the case of the laptop I could understand this if the laptop is also used outside the network, but the desktops should stay in place, no?
    It could be as easy as to make a shortcut on all the computers to the samba-share and tell the inlaws that they have to use the samba-share to store their (shared) files.
    You are correct about this but I doubt they would remember to use this all the time so I want to sync the folders just in case.
    Assuming the laptop is always going to be in the same IP address when it connects to the network (which is unlikely in default configurations), you could create a script that checks for the existence of the machine on the network then perform a sync.  I had a script written in Python somewhere that would check to make sure the server side was up and run unison, but it could be modified to check for the laptop and copy files.  Let me know if that's something you're interested in and I can post it for you.
    This sounds like what I'm looking for. Also I wander If it could be done by NetBIOS  name instead of ip address? This way It wouldn't matter.
    The script sounds like what I'm looking for though
    Thanks for the help!

  • Can you set a max size for a folder on a file server

    I've got a G5 Xserve that I'm using as a file server running 10.3.9. I need more space on my array so I bought bigger drives and will move the data to the new, larger array.
    For the health of my drives, I want my array to maintain at least 10% free space so I would like for the people using the shares to only see 90% of the larger space. (I don't want to have to be the 'drive space' policeman 6 months from now when the RAID fills up again)
    I know I could create 2 partitions in diskutil but I'd like something more dynamic.
    Ideally I'd like to put my shared folders inside of a main folder and tell Server to only display 90% of the size of the partition when a folder from the partition is mounted remotely. That way people won't know there is a quota which keeps them from trying to copy data into a share that shows 10% free space.
    The shares are used by both macs and PCs so I'd rather not go with a solution based upon network protocol.
    Many Thanks,
    Paul
    G5 Xserve   Mac OS X (10.3.9)  

    There's no way I'm aware of to artificially display a different capacity/available space than what's actually there. If it's a 1TB volume, it's a 1TB volume and the OS isn't going to report that as 900GB.
    The only other solutions I can think of is to either enable quotas which will let you restrict the amount of disk space any user can consume, or attach a folder action to the volume where the script automatically checks the volume size whenever new files are added and takes action at the appropriate time (you need to define what that action is, though).

  • KM vs File Server

    In our organization we have around 8000 employees.
    If I create a foler of each employee in KM ....containing 10 files like photo, passport , some other documents....
    So totally I need to create 8000 folders containg 10 files in each ....i,e 80000 files I need to store.
    Will it cause in Performance issue?
    Can a foler in KM can store 80000 files or any size restriction is there?
    Will it be better to store in File Server ?
    What are the advantages/ dis advantages if we store in KM over File Server
    Thanks ,
    Srinivas

    Hi Srinivas,
    there are different advantage to use km instead of the pure file system like the usablility advantage:
    - single point of access
    - for every file persistance store the same user interface
    - to reach all documents over the internet
    - and so on
    on the other and you must think about performance issues.
    But it is but to your configuration if you have performance issues or not.
    Depending an your files you can choose as persistance layer the FS repository, the CM Repository and this repository exists in three different persistance types like db, fsdb and dbfs. Depending on the needed features and the minimum, maximum and averadge file size you choose your repository type.
    Thenevertheless it makes no sense to have about 8000 files in one single folder. So a performance issue depends as well on your folder structure.
    These are only some hints regardsing performance aspects.
    Best regards
    Frank

Maybe you are looking for

  • How to change font size for my replies in "mail" app?

    for the record, I tried adjusting the font size in my replies in "mail" app via general > accessibility > larger text to the largest size - yet when I clicked on reply in the mail app, the font remained small, very small. please help!

  • Problems with SoapMessage Handler in SJS AS 8.1

    Hi! I try to post it in this forum as well, since there is no response in the WebService forum, and it also seems to be a problem with the application server. I have problems with execution of standard soap message handler. Both webservice and handle

  • Spam addresses end up in my address book

    I'm getting spam addresses added to my address book. How does this happen? I'm using 10.7.1 Thanks scott

  • Periodically lose virtual machine (Parallels) internet connection on windows 7

    Running OS X Mavericks 10.9.5 Parallels 9.0.24172 running Windows 7 enterprise Internet connection would periodically time out, and force a reboot of the virtual machine to regain connection. Using a wired connection.

  • Inaccurate 100% Zoom

    Hello, Can anyone tell me why the zoom levels aren't accurate in Pages (at least for me)? By which I mean that while looking at a document at the 100% zoom level on the screen, the text is much smaller than on the actual printed page. 150% is closer