Windows 10 – OneDrive save, read and share files

Screenshot 20190123 094017

The location on your computer that OneDrive files are stored is C:\users\yourUsername\OneDrive You can open this location in File Explorer by double-clicking the OneDrive icon at the system tray In File explorer there is an OneDrive shortcut at the left panel You can create, copy, delete etc files/directories. Then OneDrive will synchronize your files on the cloud storage. You can see which files are synchronized in Status column If you right-click an item at the OneDrive location you will see some extra items You can share a file with Share a OneDrive link.…

Windows 10 – OneDrive save, read and share files Read More

Windows Server 2016 – SMB share Assign permissions

Screenshot 20181008 104934

Start the Server Manager, click File and Storage Services, then Shares, right-click a share and select Properties. Click Customize permissions Click Add Click Select a principal Enter the object name, click Check Names, select the object you want and then click OK. On Type, select Allow or Deny On Applies to select which subfolders and files should inherit the permissions Select which permissions you want to assign and then OK Click OK to close the Properties If you want to assign advanced permissions then follow the same procedure and in the Permission Entry dialog click…

Windows Server 2016 – SMB share Assign permissions Read More

Windows Server 2016 – SMB set share permissions with PowerShell

Screenshot 20181006 124023

get-smbshareaccess -name share  #you can see the access list for “share” ###remove all access for “everyone” from “share revoke-smbshareaccess -name share -accountname everyone ###grant full access to “everyone”  for “share” grant-smbshareaccess -name share -accountname everyone -accessright full ### Deny access  block-smbshareaccess -name share -accountname everyone ### Remove any access  unblock-smbshareaccess -name share -accountname everyone     Windows Server 2016 – SMB set share permissions with PowerShell

Windows Server 2016 – SMB set share permissions with PowerShell Read More

Windows Server 2016 – SMB share with PowerShell

Screenshot 20181005 131347

You can create an SMB share using PowerShell by simply writing : new-smbshare -name backups -path c:\backups -fullaccess everyone You can also use –readaccess or –changeaccess instead of fullaccess There are more parameters you use like: EncryptData (True or False) encrypts the files in the share folder FolderEnumerationMode (AccessBased or Unrestricted) Default is Unrestricted Temporary the share persists until next computer restart. ConcurrentUseLimit the maximum number of users for simultaneously connection. 0 for unlimited users for more information read here Get-SmbShare remove-smbshare -name backups # to remove the share “backups”   Windows Server 2016 – SMB share…

Windows Server 2016 – SMB share with PowerShell Read More

Windows Server 2016 – Create NFS share

2018 10 02 10 03 00 Windows Server 2016 Running Oracle VM VirtualBox

Start Windows Server Manager, click File and Storage Services and then click Shares. From the Tasks menu, seøect New Share Choose the Share profile,  NFS Share – Quick. Click the other one if you want to see more information. Click Next Select the Server and then the Volume or specify the folder you want to share and click Next. Write the name of the folder you want to share and click Next. Select the types of authentication method you want to use for share access and then Next. On Share permissions click Add. A dialog box will…

Windows Server 2016 – Create NFS share Read More