- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Unable to NET USE "User" Share From Windows 7
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to NET USE "User" Share From Windows 7
Seems to me like the .BAT file I have been using used to work for the share belonging to "PeteCress".
viz:
😘 ----------------------------------------------------
:* Deletes, then re-establishes connections
:* using NAS box's Admin ID... which gets
:* us access to the "Admin" share, as opposed
:* to using the Windows' ID which does not.
NET USE * /DELETE /yes
KLIST purge
CMDKEY /add:NAS /user:admin /pass:Sandow1
NET USE A: \\NAS\A /savecred /p:yes
NET USE T: \\NAS\Temp /savecred /p:yes
NET USE H: \\NAS\PeteCress /savecred /p:yes
NET USE O: \\NAS\B\DVDs_Owned /savecred /p:yes
NET USE L: \\NAS\B\DVDs_Library /savecred /p:yes
NET USE N: \\NAS\B\DVDs_NetFlix /savecred /p:yes
NET USE S: \\NAS\$OriginalRips /savecred /p:yes
PAUSE
But now it is tripping over a PW prompt:
C:\BAT>NET USE * /DELETE /yes You have these remote connections: A: \\NAS\A L: \\NAS\B\DVDs_Library N: \\NAS\B\DVDs_NetFlix O: \\NAS\B\DVDs_Owned S: \\NAS\$OriginalRips T: \\NAS\Temp Continuing will cancel the connections. The command completed successfully. C:\BAT>KLIST purge Current LogonId is 0:0x93ac0 Deleting all tickets: Ticket(s) purged! C:\BAT>CMDKEY /add:NAS /user:admin /pass:xxx CMDKEY: Credential added successfully. C:\BAT>NET USE A: \\NAS\A /savecred /p:yes The command completed successfully. C:\BAT>NET USE T: \\NAS\Temp /savecred /p:yes The command completed successfully. C:\BAT>NET USE H: \\NAS\PeteCress /savecred /p:yes The password is invalid for \\NAS\PeteCress. Enter the user name for 'NAS':
I went back to Security | User & Group Accounts | Manage Users and made sure that the password for PeteCress was the same as the admin PW - and entered "PeteCress" for user name, but it is still not happy.
Did, however, note in Security | User & Group Accounts | Preferences that Private home shares for users: = Enabled.
Bottom line is that I have some documents in the "PeteCress" share that I would like to access from Windows via a NET USE or, at least, drilling down through the NAS' parent icon.
What am I doing wrong?
Also, is there a way for me to copy those documents and put them in a non-user share? (remembering that I can't get to them right now)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Unable to NET USE "User" Share From Windows 7
PeteCress is a home share?
Maybe try
net use * /delete
net use H: \\NAS\PeteCress /user:PeteCress password
or
net use * /delete
net use H: \\NAS\home\PeteCress /user:admin password
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Unable to NET USE "User" Share From Windows 7
OK... I tried to simplify things and just connect to the NAS box's "Home" share:
C:\BAT>NET USE * /DELETE /yes You have these remote connections: A: \\NAS\A T: \\NAS\Temp Continuing will cancel the connections. There are open files and/or incomplete directory searches pending on the connect ion to T:. The command completed successfully. C:\BAT>KLIST purge Current LogonId is 0:0x93ac0 Deleting all tickets: Ticket(s) purged! C:\BAT>CMDKEY /add:NAS /user:admin /pass:xxx CMDKEY: Credential added successfully. C:\BAT>NET USE A: \\NAS\A /savecred /p:yes The command completed successfully. C:\BAT>NET USE T: \\NAS\Temp /savecred /p:yes The command completed successfully. C:\BAT>NET USE H: \\NAS\Home /savecred /p:yes The password is invalid for \\NAS\Home. Enter the user name for 'NAS': admin Enter the password for NAS: System error 1219 has occurred. Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again. C:\BAT>NET USE S: \\NAS\$OriginalRips /savecred /p:yes The command completed successfully. C:\BAT>PAUSE Press any key to continue . . .
So it's happy with shares "A", "Temp", and "$OriginalRips"...
The question seems to be "What does it not like about "Home" ?
Noting that we are using ID=admin and the admin PW in all cases, I am starting to think it's an issue with
C:\BAT>CMDKEY /add:NAS /user:admin /pass:xxx
Specifically, that it is from Windows' perspective. i.e. it is citing Windows' "admin" account and PW while the NAS box probably wants it's own "admin" ID/PW.... which happen to be identical to Windows' in this case...
But how to specify the ID/PW as belonging to the NAS box?
I guess this has morphed into a Windows question.... ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Unable to NET USE "User" Share From Windows 7
Oops.
I meant
net use * /delete
net use H: \\NAS\C\home\PeteCress /user:admin password
home isn't a share at all. But you can access the full volume (normally C on 4.2.x firmware) if you use admin credentials.
The NAS doesn't really care if you use "admin" or "NAS\admin" for the logon - it ignores any machine or domain qualifier. The password of course needs to be the NAS admin password, not the windows admin password.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Unable to NET USE "User" Share From Windows 7
Now I am starting to suspect that something on the PC has an allocation to the NAS box using Windows' credentials - and that allocation does not show up on the NET USE list.
To Wit:
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Bat>net use * /delete You have these remote connections: A: \\NAS\A L: \\NAS\B\DVDs_Library N: \\NAS\B\DVDs_NetFlix O: \\NAS\B\DVDs_Owned S: \\NAS\$OriginalRips T: \\NAS\Temp Continuing will cancel the connections. Do you want to continue this operation? (Y/N) [N]: y The command completed successfully. C:\Bat>net use H: \\NAS\C\home\PeteCress /user:admin xxx System error 1219 has occurred. Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again. C:\Bat>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Unable to NET USE "User" Share From Windows 7
Try rebooting the PC, and then mount \\nas\c\home\PeteCress without trying to mount everything else.
Maybe also go into windows credentials manager and delete all credentials related to the NAS.