MrPig91 / PSChiaPlotter

A repo for powershell module that helps Chia Plotting
MIT License
182 stars 47 forks source link

Cannot add network drives to final drives. #192

Closed DroptheHammer closed 2 years ago

DroptheHammer commented 2 years ago

With the actual chia GUI, I can add my network NAS drive (which farms for me on it's local node) to the final directory. For the time being I can copy in bulk manually, but it would be nice if the PSPlotter would recognize network mapped drives or network locations as valid for moving the final plots to (archiving?).

chakumon commented 2 years ago

a simple reboot solves this for me..

Extra-life commented 2 years ago

Works for me too

DroptheHammer commented 2 years ago

a simple reboot solves this for me..

Works for me too

I've done multiple reboots.... Tried my laptop and 2 other desktops and VMs. I cannot get it to recognize remote drives in my list. It continues to only show locally connected drives. Also, these drives and locations have been operating as windows shares for years on all my other applications from backup, to SQL servers, plex servers, file sharing and game servers. So I'm just very unsure why PSChia specfically is unable to see them.

I've tried them attached as network locations and also mounted as drive letters.

DroptheHammer commented 2 years ago

image

image

I want it to show the H: I: Y: & Z: Drives... But they never show... reboot, refresh.. whatever.

DroptheHammer commented 2 years ago

http://woshub.com/how-to-access-mapped-network-drives-from-the-elevated-apps/

With the link above the issue seems to be resolved. The main problem is all my network connections were mapped as my local user account, not as my local admin account (this is normal for Windows 10, admin accounts don't by default have access to your network drives).

Since the setup had required administrator powershell to install PSChiaPlotter, I had always been running an elevated prompt to access the tool. However, when I open powershell as a normal user... PSChiaPlotter can see all my networked drives...

Hopefully this helps someone else in need. The answer is to..

  1. Install PSChiaPlotter as per the normal wiki
  2. Ensure when you RUN PSChiaPlotter with the intent of plotting to a network drive, that you do so with a standard user, or NON-elevated client/powershell.

image

DroptheHammer commented 2 years ago

I'm running some plots overnight with targets to network drives and assuming all 12 are written.. I'll close this ticket tomorrow.

DroptheHammer commented 2 years ago

Plots successfully written! issue closed!