LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2017, 10:26 AM   #1
okorkie
Member
 
Registered: Mar 2007
Posts: 47

Rep: Reputation: 0
Unable To Access Files On Windows 10 Share


Hello, I'm unble to connect to a Windows 10 Home share from Mint Linux (Cinnamon 3.6.6 Linux Mint 18.3 Sylvia). In Mint, under 'Network', I can see my Windows PC. When I double click on the icon for my Windows PC, it asks for username, Domain, and Password.
username: I entered my Linux username
Domain: Was automatically polulated with 'WORKGROUP'
Password: I entered in my Linux password

Once I clicked on 'Connect', it listed 5 items. Since I shared my entire 'C' folder from Windows, I see both a 'C' and 'C$' (these are 2 out of the 5 items).
- When I click on 'C', it throws an error saying 'Unable To Mount Location'
- When I click on 'C$', a box pops up indicating 'Password required for share c$ on deskop-xxxx'
- If I choose 'Anonymous' and then 'Connect', it will not connect
- If I choose 'Registered User', it is asking for username, Domain and Password.

I 'think' I have tried both my Linux credentials and my Windows 10 credentials (and a combination) and I'm unable to connect to the c$ (which I assume is the correct location to connect). AFAIK, my Windows 10 PC is not part of Workgroup and I have turned on file and printer sharing and then allowed 'Everyone' full permissions for the Share in Windows.

Any help is great appreciated!
 
Old 12-08-2017, 12:20 PM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hey okorkie,

I think your problem is more Windows-related than linux. In Windows, you can't normally share the c:\ directory. It requires THE Administrator account plus a specific parameter to permit sharing. In any case, it is not good practice, since it insecurely exposes Windows system files. If you need to perform sysadmin functions remotely, I would suggest SSH.

For standard folder sharing, common practice is to share either en entire user-space directory tree or a subset thereof.

Also, make sure your credentials (user name and password) are the same for both the Windows system and your linux system. This will greatly facilitate access.

Hope this helps ! Let us know if you require further assistance.

Cheers.
 
Old 12-08-2017, 01:53 PM   #3
okorkie
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 0
Thank you for the quick reply... I agree with you about it being more of a Windows issue. Regarding the sharing of the C:\ directory, I wasn't aware of that (it makes total sense), so I decided to share a folder under the C:\ directory called 'test'. After turning on sharing, the directory does show up in the Linux GUI file system - however, when I double click on it, I receive an error indicating 'unable to mount location.. failed to mount Windows share: Permission denied'.

I guess I should state that the purpose of this exercise is to be able to copy folders from my Windows PC to my Linux PC as I will be returning my Windows PC back to the original owner.
 
Old 12-08-2017, 02:14 PM   #4
okorkie
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 0
I'll just use WinSCP to copy from my Windows PC to my Linux PC - transfer is currently in progress.
 
Old 12-13-2017, 09:34 AM   #5
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by okorkie View Post
Thank you for the quick reply... I agree with you about it being more of a Windows issue. Regarding the sharing of the C:\ directory, I wasn't aware of that (it makes total sense), so I decided to share a folder under the C:\ directory called 'test'. After turning on sharing, the directory does show up in the Linux GUI file system - however, when I double click on it, I receive an error indicating 'unable to mount location.. failed to mount Windows share: Permission denied'.

I guess I should state that the purpose of this exercise is to be able to copy folders from my Windows PC to my Linux PC as I will be returning my Windows PC back to the original owner.
Hi again okorkie ...

Although I see that you've decided to opt for a file-transfer based solution, I was curious as to whether you had made sure to have identical credentials on both the Windows and linux machines ? Also, make sure that on the Windows side, you don't have any share-based or ntfs-based restrictions on WHO can access remotely.

Cheers !
 
Old 12-13-2017, 09:44 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Use the Event Viewer utility on Windows to check the log-messages which will have been recorded when Windows denied you access.
 
1 members found this post helpful.
Old 12-13-2017, 06:22 PM   #7
okorkie
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 0
In Linux, I see the Windows folder I have shared (based upon the earlier response, I shared a folder under c:\ instead of the actual c:\ directory), when I double click it, it displays 'unable to mount location'. Then I go to my Windows PC and when I look In the Event Viewer under 'Windows Logs', then 'Security', it seems like the error message associated with the 'unable to mount location' error in Linux is:

An account was logged off.

Subject:
Security ID: DESKTOP-XXXXXX\Guest
Account Name: Guest
Account Domain: DESKTOP-XXXXXX
Logon ID: 0x4062DFD

Logon Type: 3

This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.

Rickkk - I do not have identical credentials on both the Windows and linux machines (they are close though). As far as the sharing on the folder goes, 'Everyone' has full control and I don't see anything related to NTFS.
 
Old 12-14-2017, 07:28 AM   #8
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by okorkie View Post
In Linux, I see the Windows folder I have shared (based upon the earlier response, I shared a folder under c:\ instead of the actual c:\ directory), when I double click it, it displays 'unable to mount location'. Then I go to my Windows PC and when I look In the Event Viewer under 'Windows Logs', then 'Security', it seems like the error message associated with the 'unable to mount location' error in Linux is:

An account was logged off.

Subject:
Security ID: DESKTOP-XXXXXX\Guest
Account Name: Guest
Account Domain: DESKTOP-XXXXXX
Logon ID: 0x4062DFD

Logon Type: 3

This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.

Rickkk - I do not have identical credentials on both the Windows and linux machines (they are close though). As far as the sharing on the folder goes, 'Everyone' has full control and I don't see anything related to NTFS.
Hi okorkie,

It looks like you are defaulting to using the "Guest" account on the Windows machine when trying to mount the share from your linux computer. This may be at least part of the issue. The "Guest" account on Windows machines is often disabled by default - check that first. Secondly, policies on Windows may prevent remote logins (ex. mounting a share) with the Guest account even if it is enabled. You may have to dig a bit more into the permissions stuff on the Windows computer to determine whether this is the case.

Long story short, it may not be worth your while to do any of this if you are returning the Windows computer to its owner and have succeeded in copying your files another way (WinSCP). For future reference, and based on years of personal experience, to successfully communicate between a linux computer and a Windows computer, it is much simpler when the user code and password are identical on both systems.

Cheers - let us know if you want to pursue this.
 
Old 12-14-2017, 07:54 AM   #9
okorkie
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 0
Hi, thanks again for all of the support. After a quick Google search, it appears that Windows 10 does not support 'guest' accounts. The article that I found that states that Windows 10 does not support 'guest' accounts says that you will find plenty of articles showing you how to do it, but the fact is that it will not work. I did find another article that stated how to create a visitor account, but after a very, very quick attempt (and no troubleshooting), this didn't work for me either.

Since I have transferred all of the files using WinSCP, we can considered this topic 'closed'.

Thanks again!
 
Old 12-14-2017, 08:10 AM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
"You still must be 'logged on', somehow," in order to access a Windows share. This message can appear in EV when you are not logged on.

You should set things up so that, when establishing the share, you must enter a valid Windows user-name and password. (I do not recommend defaulting it.) Windows does have a security scheme, and it must be respected and followed.
 
Old 12-16-2017, 09:24 AM   #11
okorkie
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sundialsvcs View Post
"You still must be 'logged on', somehow," in order to access a Windows share. This message can appear in EV when you are not logged on.

You should set things up so that, when establishing the share, you must enter a valid Windows user-name and password. (I do not recommend defaulting it.) Windows does have a security scheme, and it must be respected and followed.
Hi thanks for this... Unfortunately I still could not get this to work but I was able to successfully transfer all of the files via WinSCP. I will be returning my PC to the original owner on Monday.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 unable to access Samba share kaplan71 Linux - Software 2 08-11-2011 04:33 AM
Unable to access Samba share on CentOS 5.4 from windows XP or Vista kphannan Linux - Server 5 01-26-2010 09:08 AM
unable to mount windows share when i try to access files vinaytp Linux - Newbie 5 04-27-2009 11:35 PM
Unable to access certain files on NTFS share Ashrack Linux - General 23 07-01-2006 07:26 AM
Cannot access all files on windows share palinuxuser Linux - Networking 2 02-18-2006 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration