[Q] add NAS to libraries using symboic links - Windows RT General

I have a Surface RT 32GB and am trying to create symbolic links to a NAS (WD Mybook live Duo 4TB) for the music library. I run the mklink /D command and I get "The system cannot find the path specified."
Here is my full syntax: mklink /D "C:\Public\Shared Music" "\\192.168.0.4\Public\Shared Music"
I have tried using the drive letter and drive name for the NAS, but get the same error.
I am running the command prompt as administrator and have created the appropriate directory and added to the library, then deleted the directory.
Any thoughts?
Thanks
Chris

There's no such folder as "Shared Music". That's purely a shell abstraction. The folder is merely called Music.
Also, there's a better way to do it:
Open Explorer.
Go to C:\Users\Public
Right-click the Public Music folder and select Properties
Go to the Location tab (which will show you that the actual folder is just called "Music")
Enter the target path you want to use in there

That would be cool, but I am unable to change the target location in the location tab.is there a regedit that will allow me to do that?
Also, with regard to the symbolic link, "shared Music" is the folder I created and deleted to link to.

Search the registry for the current value of that Location field, and you should find it. I don't know why you wouldn't be able to edit it, though; it's easily editable on my system.

Related

Mac > sdcard file transfer, extra files

I noticed that when I use my phone in usb storage mode on a mac, then drag a file from the desktop to the sdcard, a second 4k file is created on the sdcard, which is the same file name but with a period in front like:
._cm_supersonic-07192010-045042.zip
I don't see this when transferring from a pc, anyone know why it does this and if I can delete these files, they make browsing the sdcard in astro messy.
dehelflix said:
I noticed that when I use my phone in usb storage mode on a mac, then drag a file from the desktop to the sdcard, a second 4k file is created on the sdcard, which is the same file name but with a period in front like:
._cm_supersonic-07192010-045042.zip
I don't see this when transferring from a pc, anyone know why it does this and if I can delete these files, they make browsing the sdcard in astro messy.
Click to expand...
Click to collapse
The reason for the ._ (which is actually called AppleDot or DotUnderscore) is because of the File system Mac uses (HFS, HFS+)... and when transferring files from Mac to Windows or Windows file systems (Fat32, Fat, NTFS), the files tend to show up like this, it's a Unix thing which Apple has been using for quite some time.
If you want to get rid of this, you can export the following command. To make it permanent, enter this into your .bash_profile file using a text editor.
At the bottom of the file, enter:
Code:
export COPY_EXTENDED_ATTRIBUTES_DISABLE =true
More information about this:
Disable .DS_store files
AppleSingle & AppleDouble formats
Disable ._ files
Hope that helps.
Info is incorrect/outdated. Check out post #2 in my thread.

file viewer

is there a way I can see the files on my wp7 or a program to look through what files are on there.
You can use this program called RemoteExecute and execute \Windows\FileBrowser.exe to browse the files.
However you will not be able to open each file, there is another program specific for HTC devices but I don't remember it.
You can also use this webserver to browser the files, a lot of them are readable

Installing Metro Apps to another drive (for SSD Users)

title says it all, you see metro apps from the window store are huge, some games even reach 200 Megabytes. I'm thinking of upgrading my computer by using an SSD instead of an HDD, however unlike my HDD, the SSD is only 120GB while my HDD is 750 GB. I could easily fill 120GB with Steam Apps, Metro Apps, Desktop Apps in less than a month.
It's possible, but it does require some work. Microsoft doesn't make this easy. You can use directory symbolic links (symlinks) to put the files on one drive (say, D: ) but have them accessible via another (say, C: ). This avoids breaking all the install paths, etc. and ensures new installations will go to the correct disk. Please note that even the biggest Metro apps are pretty small compared to the typical Steam game. You'll save a lot more space moving your Steam library over to the other drive. It's also a lot easier; you can either use the built-in Steam feature to put games in different library locations, or you can use symlinks (similar to as below, but with a whole lot less "Takeown" and similar). However, if you really want to move the WindowsApps folder, try the following steps. Be aware that in cases of mistyped commands, failure to follow instructions correctly, gremlins, or plain bad luck, it's entirely possible that this will mess something up.
You'll need an Administrator command prompt (meaning you need Admin access) to do this.
These steps assume that your C:\ drive is your SSD, and that Windows is currently installed there, and D:\ is your large data drive, where you want to move the app folder.
You may adjust the paths, especially the destination, if you want; these instructions put the "WindowsApps folder on the root of the D: drive.
First, make sure you aren't running any "Metro" apps. It may help to do these steps immediately after rebooting.
Open a Command Prompt as Administrator (you can do this by right-clicking the Start button and selecting "Command Prompt (Admin)" from the menu).
Take ownership of the WindowsApps directory:
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Make a copy of the "C:\Program FilesWindowsApps" folder onto the new drive:
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
Make sure that the copy succeeded (no Skipped or FAILED, etc. in the summary).
Delete the original WindowsApps folder:
Code:
rmdir /S "C:\Program Files\WindowsApps"
Create the symlink:
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
At this point, you should be done. Try running a Metro app to verify that it worked.
My apps won't work because of the last step. It say's
Cannot create a file when that file already exists.
Click to expand...
Click to collapse
That just means that the WindowsApps dir wasn't fully deleted. I actually recommend doing this step from the local Administrator account (disabled by default; use Computer Management -> Local Users and Groups to enable it, then log off (tap your name on the Start screen to get the log off option) and log in as Admin. That should ensure that anything using the WindowsApps dir stops, since local Admin can't run AppContainer apps.
It wont let me delete these files, im in admin mode
C:\Users\Administrator>rmdir /S "C:\Program Files\WindowsApps"
C:\Program Files\WindowsApps, Are you sure (Y/N)? y
C:\Program Files\WindowsApps\MICROS~2.135\images - Access is denied.
C:\Program Files\WindowsApps\MICROS~2.135 - Access is denied.
C:\Program Files\WindowsApps\MICROS~3.26_\LOCALC~1\CACHED~1 - Access is denied.
C:\Program Files\WindowsApps\MICROS~3.26_\LOCALC~1 - Access is denied.
C:\Program Files\WindowsApps\MICROS~3.26_ - Access is denied.
Access is denied.
Click to expand...
Click to collapse
lowridincrew said:
It wont let me delete these files, im in admin mode
Click to expand...
Click to collapse
it sounds like you nor elivated the CMD promt,you need to run the cmd prompt in elevated rights, not just logged in as administrator
click start
type cmd
right click
select run as administrator
or
Windows Key + X and select cmd prompt (administrator)
Uninstall all Apps currently installed (The registry tweak will cause errors when Apps get updated)
Regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\PackageRoot
Change location from "C:\Program Files\WindowsApps" to where you want them ie( "e:\WinApps")
RoyalWitCheese said:
Uninstall all Apps currently installed (The registry tweak will cause errors when Apps get updated)
Regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\PackageRoot
Change location from "C:\Program Files\WindowsApps" to where you want them ie( "e:\WinApps")
Click to expand...
Click to collapse
I would have thought you don't need to do this if you are using a symlink/junction
If you just manually moved the files and didn't create a link afterwards then YES you need to make this registry change
Everything seemed like it went smoothly but once I updated the main apps (mail, calendar, people, messaging) They will not open. All of the apps I installed after doing this procedure work fine, as well as Store and Bing. I tried uninstalling these apps and reinstalling to no avail. They just start to open and then close. All of the new apps are being installed in the correct "WindowsApps" folder on my D: drive so it seems to have worked. Any Ideas?
Tried to make the change in the registry but when I save it I get an error message:
"Cannot edit PackageRoot: Error writing the value's new contents."
This change seems like a logical solution but I'm not sure why I can't save the change.
I'm having trouble simply copying over the data >< I initially tried to write to a sub-folder, not the root of another drive. Both attempts to run robocopy on root and sub-folder failed giving the message:
Copying File C:\Program Files\WindowsApps\18476MPBrun.ShareMyFiles_1.4.0.0_neutral__5j38zygvezh8g\App.xaml
Access is denied.
Waiting 30 seconds...
I thought maybe I had something open so I booted up in Safe Mode with cmd prompt and still, I got the same error. Any ideas?
GoodDayToDie said:
It's possible, but it does require some work. Microsoft doesn't make this easy. You can use directory symbolic links (symlinks) to put the files on one drive (say, D: ) but have them accessible via another (say, C: ). This avoids breaking all the install paths, etc. and ensures new installations will go to the correct disk. Please note that even the biggest Metro apps are pretty small compared to the typical Steam game. You'll save a lot more space moving your Steam library over to the other drive. It's also a lot easier; you can either use the built-in Steam feature to put games in different library locations, or you can use symlinks (similar to as below, but with a whole lot less "Takeown" and similar). However, if you really want to move the WindowsApps folder, try the following steps. Be aware that in cases of mistyped commands, failure to follow instructions correctly, gremlins, or plain bad luck, it's entirely possible that this will mess something up.
You'll need an Administrator command prompt (meaning you need Admin access) to do this.
These steps assume that your C:\ drive is your SSD, and that Windows is currently installed there, and D:\ is your large data drive, where you want to move the app folder.
You may adjust the paths, especially the destination, if you want; these instructions put the "WindowsApps folder on the root of the D: drive.
First, make sure you aren't running any "Metro" apps. It may help to do these steps immediately after rebooting.
Open a Command Prompt as Administrator (you can do this by right-clicking the Start button and selecting "Command Prompt (Admin)" from the menu).
Take ownership of the WindowsApps directory:
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Make a copy of the "C:\Program FilesWindowsApps" folder onto the new drive:
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
Make sure that the copy succeeded (no Skipped or FAILED, etc. in the summary).
Delete the original WindowsApps folder:
Code:
rmdir /S "C:\Program Files\WindowsApps"
Create the symlink:
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
At this point, you should be done. Try running a Metro app to verify that it worked.
Click to expand...
Click to collapse
You need to add a line to change the file access permissions using icacls, otherwise you'll get "access is denied" when you try to copy the files.
Ah, good point. (Sorry, as I mentioned somewhere, I did this rather haphazardly...)
A possibly better way (no changing permissions, including ownership) would be to use a shell under TrustedInstaller. There are, or at least used to be, a few ways to do this... but I can't get them to work now. Anybody know of one that works on Win8 x64?
built in apps(weather, mail, maps, news) not working after update. do you know how to fix other than refresh windows? thanks
Fienamie said:
built in apps(weather, mail, maps, news) not working after update. do you know how to fix other than refresh windows? thanks
Click to expand...
Click to collapse
I solved it, at least on my Surface. I ran this from an elevated command prompt after running into Access Denied on all content in the folder:
Code:
C:\windows\system32>icacls "c:\program files\windowsapps" /grant
Administrator:(D,WDAC)
I then re-ran the rmdir command.
---------- Post added at 03:48 PM ---------- Previous post was at 03:38 PM ----------
CRAP - after all this, all of my Metro apps crash and fail to open. dammit.
looks like you have made a mistake, the apps are in windowsapps folder, while the data <say downloads or cache of an online video app> is in C:\Users\<user name>\AppData\Local\Packages. this folder will even larger.
I have tried to use junction to move some of the folders to sd card on my rt, the app can read / write, but cannot create a file.
GoodDayToDie said:
It's possible, but it does require some work. Microsoft doesn't make this easy. You can use directory symbolic links (symlinks) to put the files on one drive (say, D: ) but have them accessible via another (say, C: ). This avoids breaking all the install paths, etc. and ensures new installations will go to the correct disk. Please note that even the biggest Metro apps are pretty small compared to the typical Steam game. You'll save a lot more space moving your Steam library over to the other drive. It's also a lot easier; you can either use the built-in Steam feature to put games in different library locations, or you can use symlinks (similar to as below, but with a whole lot less "Takeown" and similar). However, if you really want to move the WindowsApps folder, try the following steps. Be aware that in cases of mistyped commands, failure to follow instructions correctly, gremlins, or plain bad luck, it's entirely possible that this will mess something up.
You'll need an Administrator command prompt (meaning you need Admin access) to do this.
These steps assume that your C:\ drive is your SSD, and that Windows is currently installed there, and D:\ is your large data drive, where you want to move the app folder.
You may adjust the paths, especially the destination, if you want; these instructions put the "WindowsApps folder on the root of the D: drive.
First, make sure you aren't running any "Metro" apps. It may help to do these steps immediately after rebooting.
Open a Command Prompt as Administrator (you can do this by right-clicking the Start button and selecting "Command Prompt (Admin)" from the menu).
Take ownership of the WindowsApps directory:
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Make a copy of the "C:\Program FilesWindowsApps" folder onto the new drive:
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
Make sure that the copy succeeded (no Skipped or FAILED, etc. in the summary).
Delete the original WindowsApps folder:
Code:
rmdir /S "C:\Program Files\WindowsApps"
Create the symlink:
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
At this point, you should be done. Try running a Metro app to verify that it worked.
Click to expand...
Click to collapse
So I can use the built in steam method to move my current installs on my pro, to my 64gb class 10 microsd card? I think I saw the place you talking about. In steam store, then view, then setting, then download tab. In there I see steam folder locations. When I press on it, it shows my current steam folder location and how much memory its used up. I have 12 installs taking up like 43gb on my Surface Pro 128gb. The only options I see in there is to "Add steam folder location" and "Remove Steam folder location".
Now how would I go about using that to move existing location of installs into my micro sd card? As far as built in steam method goes. Is it like if I make a new location those will automatically be moved there or only new installs from that point on. This mod would really help and free me up space. With steam games and metro apps, im only looking at about 22.8gb free space left. I've seen other methods of moving but afraid to mess my device up. This windows stuff seem to have more dire consequences than me taking risks with my android tablet. Pro is an expensive tablet.
Would performance still be the same once stuff moved to my SanDisk class 10 64gb card? As far as steam games go. I remember reading the class 10 card has similar speeds compared to built in ssd.
Any insight greatly appreciated.
---------- Post added at 10:36 AM ---------- Previous post was at 10:21 AM ----------
I just came across this in steam help/how to's section. Bit this doesn't really describe built in steam method. More so going into file explorer and copying/pasting.
"Moving Your Steam Installation
Warning:
It is highly recommended that you create a backup of your SteamApps folder before attempting this process. Neglecting to do so may result in a loss of all of your game content should something go wrong.
If you're low on space on the drive you have Steam installed, you can move the Steam folder to a different location. Here's an example of how to move the Steam installation between two hard drives:
1.Log out and exit Steam
2.Navigate to the folder where Steam is installed (by default: C:\Program Files\Steam\)
3.Delete all of the files and folders except the SteamApps folder and Steam.exe
4.Cut and paste your Steam folder to the new location, for example: D:\Games\Steam\
5.Launch Steam
6.Steam will briefly update and then you will be ready to play
7.All future game content will be downloaded to the new folder D:\Games\Steam\Steamapps\
"
Would that be correct?
If you use the existing steam method to install new games on the SD card you can then use the method listed in the second link to move existing installs to the new location.
I took the risk and used second method of moving everything to micro sd card. it took a while but it went through successfully. games are playing fine so far off the microsd card. and now I freed up a ton of internal ssd memory space. only thing I had to do was make a new steam shortcut in desktop. but everything works as it usually does.
im hoping if I need to free up steam space on card, I can use usual method of uninstalling. Or can I have steam reading from both locations. like lets say my memory card fills up...which I only have like 13gb left on it now. can I just add another location and use internal also or does it have to be one or the other?
also by using second method, steam will automatically now install any new games to sd card. I checked in settings and the file path points to my microsd card,
demandarin said:
I took the risk and used second method of moving everything to micro sd card. it took a while but it went through successfully. games are playing fine so far off the microsd card. and now I freed up a ton of internal ssd memory space. only thing I had to do was make a new steam shortcut in desktop. but everything works as it usually does.
im hoping if I need to free up steam space on card, I can use usual method of uninstalling. Or can I have steam reading from both locations. like lets say my memory card fills up...which I only have like 13gb left on it now. can I just add another location and use internal also or does it have to be one or the other?
also by using second method, steam will automatically now install any new games to sd card. I checked in settings and the file path points to my microsd card,
Click to expand...
Click to collapse
I forget the exact settings but it is possible to specify 2 seperate steam library file paths and then when you install an game it gives the choice which to use
SixSixSevenSeven said:
I forget the exact settings but it is possible to specify 2 seperate steam library file paths and then when you install an game it gives the choice which to use
Click to expand...
Click to collapse
It's in your settings > Downloads > Steam Library folders

Export playlists from Sony Music App

I would like to transfer (export) playlists I've made using the Sony Music app, to a new (non-Sony) device.
The playlists are all referencing files in my downloads, which I'll transfer to the new phone as well.
I don't know the format of these files, such as .M3U, .PLS, .XML etc, but if I search for a playlist name with my phone connected to my PC via USB (Internal Storage) - no results are found. I was hoping I could transfer playlist files to the new phone.
Anyone know a way of doing this please?
No?
It can be done... I just copied the Music Center database from my FIIO DAP to my Samsung phone, but it does require effort to change entries in the database to make it work. The database is in SQLite format.
If you're copying the same audio files from phone A to phone B in the same directory structure, it is less of a hassle.
On the source phone there should be a database file - [root]\MusicCenter\metadata.db. Make sure you completely close the Music Center app, then copy this file somewhere on your PC.
Create a temporary playlist on the new device with a couple random tracks and copy it to your PC.
Using something like DB Browser for SQLite, open the database from the new device. Go to Browse Data and select the "storage" table. Copy the data from the "system_storage_uuid" and "app_local_storage_id" fields into a text editor.
Select the "playlist_members" table and note the "storage_uuid" field (it should match one of the entries from the "storage" table).
Close that database file and open the one from your original phone. Change the entries in the "storage" table to match those in the database from the new device. Then select the "playlist_members" table and update the "storage_uuid" for each entry to match as well -- there is a search/replace option in DB Browser for SQLite that can change them all at once. Write the changes and copy the updated database to your new device.
YMMV... but this worked for me.

Huawwei Health: Export Data from IOS

Trying to export my health data(motion/gps) from my IOS phone to Strava
1) For some reason my data has/is not syncing with the cloud(it stopped 6 months ago) I've re-enabled the cloud sync option in the app, but it still wont sync. Requesting data from Huawei and then converting the data and importing into Strava worked fine, using the to converter the Hitrack to TCX then importing was easy. I have linked my Strava account to Huawei Health app but unfortunatly this only syncs NEW workouts not the old data.
1) I have access to the IOS app and files, it's the wear.db (SQL lite database) that has all the right up to date data but stored in a database (mine is 1.3GB) , is there a way for this to be converted to the .json file(this is what you get when you request your data from Huawei).
2) Is there a way to convert the health data .db file to something that can be used in Strava? Either a batch converter or for individual activities.So essentially the SQL db to motion path detail data.json file that can then be used with the https://github.com/aricooperdavis/Huawei-TCX-Converter
3) I did find, https://github.com/tommyblue/huawei-health-to-gpx conveter that can convert .db files (individual hitrack files to gpx) but for the life of me can't figure out how to install(golang files?)
Has anyone figure out a good solution yet, or can help with the above?
ok so I figured this out!!
1) Browse your Health data on your phone using filza and or Apps manager, it's under your document data, not the app data so may take a while to locate, should be under the documents folder. If using filza you can enable WebDAV and then simply login via a browser then download the file onto your desktop
2) Locate the wear_133.db file, or the largest most recent file, mine was 1.3GB
3) Transfer to your PC.
4) Open with a SQL Browser, I used https://sqlitebrowser.org/
5) Go to file export data table to JSON, select the wear_xxxMotionPathDetail Table
6) You should have a file call MotionPathDetail.json file(can take a while to save)
7) Go to https://github.com/CTHRU/Hitrava and download the latest build
8) Edit the following line to match your filename.
python Hitrava.py --json "motion path detail data.json" --from_date 2019-10-03 --output_dir my_output_dir/json
change the date to date earlier than your first activity.
9) Open a CMD prompt to the folder where Hitrava is, paste the JSON file you have from step 6
10) Run, and wait, you should now have an output folder in the same directory with ALL of your latest walks/runs etc.. in .tcx format
11) Open Strava/other apps and then add activity, import the .tvx files
If your lazy use https://tapiriik.com/ and sync your Strava account to a dropbox with all your .tcx files in a folder.
Tested and working!

Categories

Resources