Adding data from a shared network folder
- Map the network folder to the machine Sisense is operating on, so the ElastiCube will have access to this folder.
- Grant System User with permissions to the network folder. Since the ElastiCube build process is operating as System User, to successfully build a cube which one of its data sources is located in a network folder, the System User must be granted with permissions to access the mapped folder.
Step 1 – Map Network Drive
- Open CMD as administrator
- Enter the below.
net use y: \\<private IP address>\<Folder directory> /user:Administrator /persistent:yes
- Note the spaces in these places: (after y: , before /user , before /persistent)
- If one of your folders or sub folders contains spaces, enter the path with "".
- net use y: \\xxx.xxx.x.xx\Test\Maayan /user:Administrator /persistent:yes
- net use z: "\\SEAN-PC\New Folder\TestMaayan" /user:Admin /persistent:yes
- Tips:
- Examples:
- Enter the password for 'Administrator' to connect to this folder.
-
Right click the network drive and choose 'Map network drive'.
-
Check the following checkboxes:
-
Fill the network drive folder credentials in 'Enter network credentials' window.
-
Note: in case you don't have permissions to map the network drive, and you need to map only a sub-folder located under this drive, do the following:
- Right click the sub-folder you want to share -> choose 'Properties' -> 'Sharing' -> 'Share'
- On the File Sharing window – add permissions to 'Everyone' to Read / Write (modify the permissions as needed) - > click 'Share'.
-
If you want the folder to be located directly under this network machine when the user chooses the folder, then click on 'Advanced Sharing' and add permissions as needed.
Step 2 – Download PsExec tool:
-
Download from here: https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
-
Extract the files to this location: C:Apps:SysInternals (create the folder if needed)
-
Run PsExec.exe using the command line:
-
Open CMD as administrator
-
Enter the following:
- Tip: Note the spaces in these places: (before -i , before -s , before net use , after y: , before /user , before /persistent)
- Make sure you are using the exact same credentials to reach the network drive, both for mapping the drive (using the commend: "net use y: \\<private IP address>\<Folder directory> /user:Administrator /persistent:yes" in step 1, and both for mapping the drive for the PsExec - using the commend "c:\Apps\SysInternals\PsExec.exe –i –s net use y: \\<private IP address>\<Folder directory> /user:Administrator /persistent:yes" in step 2).