Moving Public Folder to another drive


  1. Posts : 327
    Windows 10 Home 64bit 1909 OS 18363.657
       #1

    Moving Public Folder to another drive


    I have been asked to install an HDD in a church pc which only has a 224GB SanDisk SSD which is running out of space.
    The problem I can foresee is that the church uses an application called SongPro which insists to install in the C:\Users\Programs File (x86) and the data files in the
    C:\Users\Public\SongPro5 folder and does not give the option to be installed software
    on another drive.
    I have searched the web if and how the Public folder can be moved to another drive and found that it can be done using the following steps;


    1. COPY (donít MOVE) the C:\USERS\PUBLIC folder to a different disk or partition
    2. Click the START button and type REGEDIT (not case sensitive) and press enter
    3. Expand HKEY_LOCAL_MACHINE > SOFTWARE > MICROSOFT > WINDOWS NT > CURRENT VERSION > PROFILE LIST
    4. Double click on PUBLIC
    5. Correct the path
    6. Reboot the PC
    7. Go to C:\USERS\PUBLIC and delete everything

    Can someone here please confirm if the SongPro software is installed in C:\Users\Programs File (x86) (the SSD) and the path Public\SongPro5 folder moved to another folder will work?
    Moving Public Folder to another drive-songpro1.jpg

    Moving Public Folder to another drive-songpro2.jpg

    Moving Public Folder to another drive-songpro3.jpg
      My Computers

  2. NavyLCDR's Avatar
    Posts : 13,182
    Windows 10 Pro
       #2

    I would use a directory junction instead. Assuming the new HDD gets D:\ drive letter. Move C:\Public\SongPro5 (and everything in the folder) to D:\SongPro5. The folder should no longer appear in C:\Public. Then the command would be:

    mklink /J C:\Public\SongPro5 D:\SongPro5
      My Computer


  3. Posts : 327
    Windows 10 Home 64bit 1909 OS 18363.657
    Thread Starter
       #3

    Thanks @NavyLCDR for your suggestion.

    In the next few days I will test it in my test PC when I install a second HDD install SongPro5 trial in the C: drive and use the directory junction to test if in SongPro5 I can set the file paths to the
    D:\SongPro5 or whichever drive letter Windows assigns to the second HDD. I'm just concerned more with how SongPro behaves than Windows as the church already have lots of files and databases saved in the
    C:\Public\SongPro5 folder.

    I will post back with the results in due course.
      My Computers


  4. Posts : 327
    Windows 10 Home 64bit 1909 OS 18363.657
    Thread Starter
       #4

    NavyLCDR said:
    I would use a directory junction instead. Assuming the new HDD gets D:\ drive letter. Move C:\Public\SongPro5 (and everything in the folder) to D:\SongPro5. The folder should no longer appear in C:\Public. Then the command would be:
    mklink /J C:\Public\SongPro5 D:\SongPro5
    @NavyLCDR
    I have installed an HDD in my test pc to carryout your suggestion above but I have run into a problem with the HDD I installed which I deleted the existing volume and then created a new volume after restarting the pc it does not seem to be recognised by the BIOS although it appears in Device manager as Unknown device and in Disk Management as unknown.
    Moving Public Folder to another drive-device-unknown.jpg
    I tried to initialise the drive in Disk Management but get an error from Virtual Manager "Her system cannot fined the file specified"
    Moving Public Folder to another drive-2019-04-26_19-00-51.jpg

    Moving Public Folder to another drive-2019-04-26_18-58-43.jpg

    Any ideas how to solve this?

    EDIT: Changed the SATA data cable and the HDD is recognised by the BIOS and the HDD seems to be initialised as it is now working.

    Will try @NavyLCDR suggestion and will post back.
      My Computers


  5. Posts : 327
    Windows 10 Home 64bit 1909 OS 18363.657
    Thread Starter
       #5

    NavyLCDR said:
    I would use a directory junction instead. Assuming the new HDD gets D:\ drive letter. Move C:\Public\SongPro5 (and everything in the folder) to D:\SongPro5. The folder should no longer appear in C:\Public. Then the command would be:

    mklink /J C:\Public\SongPro5 D:\SongPro5
    Hi @NavyLCDR
    I opened a Command Prompt with Admin and entered the command mklink /J C:\Users\Public\SongPro5 X:\SongPro5 and got as shown on the screenshot 1 below;
    Moving Public Folder to another drive-screenshot-1.jpg
    Screenshot 1
    Checked drive X:\ to see if the folder was there but nothing showing screenshot 2
    Moving Public Folder to another drive-screenshot-2.jpg
    Screenshot 2
    Checked C:\Users\Public\ and the SongPro5 was still there! screenshot 3
    Moving Public Folder to another drive-screenshot-3.jpg
    Screenshot 3
    Then checked SongPro5 and it still showed file path to C:\Users\Public\SongPro5 as in previous screenshot as in earlier post.
    Tried again the directory junction command but show as screenshot 4
    Moving Public Folder to another drive-screenshot-4.jpg
    screenshot 4
    The file path in SongPro5 shows drive X:\ empty!
    Moving Public Folder to another drive-screenshot-5.jpg
    So, it seems that the directory command has not done what I would like it to have done which is move Public folder to X:\. Where do we go from here?
      My Computers

  6. NavyLCDR's Avatar
    Posts : 13,182
    Windows 10 Pro
       #6

    scopio said:
    So, it seems that the directory command has not done what I would like it to have done which is move Public folder to X:\. Where do we go from here?
    You have to move the folder first. I start with the folder under C:\Users\Public with a test file in it:

    Moving Public Folder to another drive-capture.jpg

    Then I move the entire folder and it's contents to my D: drive. The folder is no longer in C:\Users\Public at all:

    Moving Public Folder to another drive-capture1.jpg

    Once the entire folder and contents is moved to D: drive and no longer appears at all under C:\Users\Public, then I can create the junction with the mklink command:

    Code:
    Microsoft Windows [Version 10.0.18362.53]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\WINDOWS\system32>mklink /j C:\Users\Public\SongPro5 D:\SongPro5
    Junction created for C:\Users\Public\SongPro5 <<===>> D:\SongPro5
    
    C:\WINDOWS\system32>
    Now a folder junction appears under C:\Users\Public which appears and acts just like the folder itself, but the real folder is on D:\ drive:

    Moving Public Folder to another drive-capture2.jpg

    Most programs won't be able to detect the difference between a folder junction and a real folder itself. If I should happen to delete the folder junction under C:\Users\Public - the real folder will remain intact on the D:\ drive.
      My Computer



  7. Posts : 327
    Windows 10 Home 64bit 1909 OS 18363.657
    Thread Starter
       #7

    Hi @NavyLCDR
    First apologies for not following your instructions to the letter as I did not move the SongPro5 folder to the X:\ drive first.
    This is what I is the sequence I have now carried out;
    1. Copied the SongPro5 folder from C:\Users\Public\ SongPro5 to X:\
    Moving Public Folder to another drive-2019-04-27_16-24-55.jpg

    2. Opened a Command Prompt with Admin and typed the command
    mklink C:\Users\Public\SongPro5 /J X:\SongPro5
    Moving Public Folder to another drive-2019-04-27_16-26-37.jpg
    3. Which showed File explorer as;
    Moving Public Folder to another drive-2019-04-27_16-27-38.jpg
    4. I opened SongPro5 software > Options > File Paths where C:\Users\Public\ shows as screenshot below;
    Moving Public Folder to another drive-2019-04-27_16-30-50.jpg
    5. Changed the file path to X:\SongPro5 and now SongPro5 shows the file path as screenshot
    below;
    Moving Public Folder to another drive-2019-04-27_16-33-56.jpg
    6. I then decided to delete C:\Users\Public\SongPro5 to ensure that any future files are saved in X:\SongPro5 and not in C:\Users\Public\
    7. I composed a new service file(Plan), which is what the software calls it, and saved it and looks as it all seems to work the way I wished it did.

    I canít thank you, @NavyLCDR enough as this was worrying and giving me sleepless nights and I wouldn't have been able to achieve this without your patience and help.
    A million thanks.
      My Computers


 

Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:43.
Find Us




Windows 10 Forums