The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Mapped drive credentials not persistent - arrghhh!



--001a11345e5a120f7204eb870a0f
Content-Type: text/plain; charset=ISO-8859-1

Just to complete this, I went the batch-file-with-net-use route and have
rolled that into an exe using "iexpress" included as part of
Windows.

I appreciate it's probably not the most secure way to do it but I only want
to hide the passwords from casual eyes so it works just fine.

Cheers,
Tim.


On 8 November 2013 17:47, Tim Hawes <timsyahoo@xxxxxxx> wrote:

> Neil, Paul,
>
> Many thanks.
> It looks like I will be going down the batch-file-at-startup route as
from
> a bit more digging, it seems the "remember credentials"
feature was
> specifically excluded from XP home & MCE versions and is present
only in XP
> Pro :-/
>
> I'd rather not have passwords as plain text in the batch file so would
> like to roll it into an exe - can anyone recommend a (preferably) free
> utility for this that doesn't then load the exe with viruses etc.?
>
> Many thanks,
> Tim.
>
>
>
> On 5 November 2013 07:04, Paul Gordon <paul_gordon@xxxxxxx>
wrote:
>
>>
>>
>> I recall I had some annoyances with access to shares on my QNAP
NAS with
>> various devices... You can go into the share setup on the NAS and
set the
>> authentication requirements to allow anonymous access, which
should allow
>> your clients to access the shares without username/password
requirements...
>> Provided you aren't worried about the security implications of
such...
>>
>> Paul G
>>
>> Sent from my iPad
>>
>> On 5 Nov 2013, at 03:50, "Neil Wrightson"
<neilw@xxxxxxx> wrote:
>>
>> You could just put the net use into a batch file that is included
into
>> the startup.
>>
>> Regards,
>> Neil Wrightson.
>> (Sent from my mobile device)
>>
>>
>> -------- Original message --------
>> From: Tim Hawes
>> Date:05/11/2013 10:33 AM (GMT+10:00)
>> To: ukha_d@xxxxxxx
>> Subject: [ukha_d] Mapped drive credentials not persistent -
arrghhh!
>>
>>
>>
>>
>> I'm getting close to fixing this with a hammer...
>>
>> I have a new NAS and the drive mapping half-works - I enter
username and
>> password and the share pops up. Everything is fine, files served
up ok etc.
>> However, when I reboot my PC it does not remember the password and
I have
>> to re-enter it.
>>
>> I have entered the NAS username and password onto the relevent
page in
>> the drive map dialog box and ticked the reconnect at logon box.
>>
>> Google says to add/verify the credentials via
"control...userpasswords2"
>> at the command prompt, but there is no "add" button,
just "properties" and
>> "remove".
>> In any event the credentials do not appear there.
>>
>> Other tips say to use the "net use" command with
"persistent" but again
>> this does not save the password.
>> Regedit reveals the correct drive letter, path and user ids but
there are
>> no entries for passwords.
>>
>> I've tried on 2 PCs, OSs are XP home & XP media centre, the
NAS is a QNAP
>> TS-420.
>> The windows user account has a password and is set to auto log-in.
>>
>> The NAS streams to a PS3 no problem, and no requests for
passwords, it's
>> just file access to PCs that's problematic. Sharing folders
between various
>> PCs (i.e. PC to PC) works fine and no passwords are required after
reboots.
>>
>> Can anyone spot what I've missed, or am doing wrong?
>>
>> Thanks,
>> Tim.
>>
>>
>

--001a11345e5a120f7204eb870a0f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable





<head>

<style type=3D"text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html>
<head>
<style type=3D"text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}

#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}

#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}

#ygrp-mkp #ads {
margin-bottom: 10px;
}

#ygrp-mkp .ad {
padding: 0 0;
}

#ygrp-mkp .ad p {
margin: 0;
}

#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
-->
</style>
</head>
<body>



<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->


<div dir=3D"ltr">Just to complete this, I went the
batch-file-with-net-use =
route and have rolled that into an exe using &quot;iexpress&quot;
included =
as part of Windows.<div><br></div><div>I appreciate
it&#39;s probably not t=
he most secure way to do it but I only want to hide the passwords from
casu=
al eyes so it works just fine.</div>
<div><br></div><div>Cheers,</div><div>Tim.</div></div><div
class=3D"gmail_e=
xtra"><br><br><div
class=3D"gmail_quote">On 8 November 2013 17:47, Tim Hawe=
s <span dir=3D"ltr">&lt;<a href=3D"mailto:timsyahoo@xxxxxxx";
target=
=3D"_blank">timsyahoo@xxxxxxx</a>&gt;</span>
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div
dir=3D"ltr"><div>Neil, Paul,<br><br>Man=
y thanks. <br>It looks like I will be going down the
batch-file-at-startup =
route as from a bit more digging, it seems the &quot;remember
credentials&q=
uot; feature was specifically excluded from XP home &amp; MCE versions
and =
is present only in XP Pro :-/<br>

<br></div>I&#39;d rather not have passwords as plain text
in the batch file=
so would like to roll it into an exe - can anyone recommend a (preferably)=
free utility for this that doesn&#39;t then load the exe with viruses
etc.=
?<br>

<br>Many thanks,<br>Tim.<div><div
class=3D"h5"><br><div class=3D"gmail_extr=
a"><br><br><div
class=3D"gmail_quote">On 5 November 2013 07:04, Paul Gordon=
<span dir=3D"ltr">&lt;<a href=3D"mailto:paul_gordon@xxxxxxx";
target=3D=
"_blank">paul_gordon@xxxxxxx</a>&gt;</span>
wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex">






=20=20=20=20=20=20=20=20
<div dir=3D"auto">




<br><br>




<div>I recall I had some annoyances with access to shares on my QNAP
NAS wi=
th various devices... You can go into the share setup on the NAS and set
th=
e authentication requirements to allow anonymous access, which should
allow=
your clients to access the shares without username/password requirements..=
. Provided you aren&#39;t worried about the security implications of
such..=
.</div>

<div><br></div><div>Paul G<br><br>Sent
from my iPad</div><div><div><div><br=
>On 5 Nov 2013, at 03:50, &quot;Neil Wrightson&quot;
&lt;<a href=3D"mailto:=
neilw@xxxxxxx"
target=3D"_blank">neilw@xxxxxxx</a>&gt;
wrote:<br>
<br></div><blockquote type=3D"cite"><div>






=20=20=20=20=20=20=20=20






<div>You could just put the net use into a batch file that is
included into=
the
startup.</div><div><br></div><div>Regards,<div>Neil
Wrightson.</div><d=
iv>(Sent from my mobile
device)</div></div><br><br>-------- Original
messag=
e --------<br>

From: Tim Hawes <u></u> <br>Date:05/11/2013  10:33 AM 
(GMT+10:00) <br>To: =
<a href=3D"mailto:ukha_d@xxxxxxx";
target=3D"_blank">ukha_d@yahoogro=
ups.com</a> <br>Subject: [ukha_d] Mapped drive credentials not
persistent -=
arrghhh! <br>

<br>
<span>=A0</span>



<div>
=20=20=20=20=20=20
=20=20=20=20=20=20
<p></p><div
dir=3D"ltr"><br><div>I&#39;m getting close to
fixing this=
with a hammer...</div><div><br></div><div>I
have a new NAS and the drive m=
apping half-works - I enter username and password and the share pops up.
Ev=
erything is fine, files served up ok etc.</div>


<div>However, when I reboot my PC it does not remember the password
and I h=
ave to re-enter
it.=A0</div><div><br></div><div>I have
entered the NAS user=
name and password onto the relevent page in the drive map dialog box and
ti=
cked the reconnect at logon box.=A0</div>


<div><br></div><div>Google says to add/verify the
credentials via &quot;con=
trol...userpasswords2&quot; at the command prompt, but there is no
&quot;ad=
d&quot; button, just &quot;properties&quot; and
&quot;remove&quot;.</div>


<div>In any event the credentials do not appear
there.</div><div><br></div>=
<div>Other tips say to use the &quot;net use&quot; command
with &quot;persi=
stent&quot; but again this does not save the
password.=A0</div><div>Regedit=
reveals the correct drive letter, path and user ids but there are no entri=
es for passwords.=A0</div>


<div><br></div><div>I&#39;ve tried on 2 PCs,
OSs are XP home &amp; XP media=
centre, the NAS is a QNAP TS-420.</div><div>The windows user
account has a=
password and is set to auto
log-in.=A0<br></div><div><br></div><div>The
NA=
S streams to a PS3 no problem, and no requests for passwords, it&#39;s
just=
file access to PCs that&#39;s problematic. Sharing folders between
various=
PCs (i.e. PC to PC) works fine and no passwords are required after reboots=
.</div>


<div><br></div><div>Can anyone spot what
I&#39;ve missed, or am doing wrong=
?</div><div><br></div><div>Thanks,</div><div>Tim.<br></div></div></div></di=
v></blockquote></div></div></div></blockquote></div><br></div></div></div>
</div>
</blockquote></div><br></div>




<!-- **begin egp html banner** -->

<br>


<br>

<!-- **end egp html banner** -->


<div width=3D"1" style=3D"color: white; clear:
both;"/>__._,_.___</div>

=20=20=20=20=20=20
=20=20=20=20=20=20
<!-- Start Recommendations -->
<!-- End Recommendations -->


<!-- **begin egp html banner** -->

<br><br>
<tt>
&lt;*&gt; Join the Automated Home Forums<BR>
&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.automatedhome.co.uk/vbulleti=
n/">http://www.automatedhome.co.uk/vbulletin/</a><BR>
<BR>
&lt;*&gt; UKHA_D Mailing list in association with:<BR>
&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.automatedhome.co.uk";>http://=
www.automatedhome.co.uk</a><BR>
<BR>
<BR>
</tt>
<br><br>

<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D1109639/grpspI=
d=3D1705041992/msgId=3D164485/stime=3D1384865131"
width=3D"1" height=3D"1">=
<br>

<!-- **end egp html banner** -->

=20=20
<!-- **begin egp html banner** -->

<br>
<div style=3D"font-family: verdana; font-size: 77%; border-top: 1px
s=
olid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href=3D"http://groups.yahoo.com/group/ukha_d/join;_ylc=3DX3oDMTJmN=
2I3amFqBF9TAzk3NDc2NTkwBGdycElkAzExMDk2MzkEZ3Jwc3BJZAMxNzA1MDQxOTkyBHNlYwNm=
dHIEc2xrA3N0bmdzBHN0aW1lAzEzODQ4NjUxMzE-">Change settings via the
Web</a> (=
Yahoo! ID required) <br>
Change settings via email: <a href=3D"mailto:ukha_d-digest@yahoogroup=
s.com?subject=3DEmail Delivery: Digest">Switch delivery to Daily
Digest</a>=
<a href =3D "mailto:ukha_d-fullfeatured@xxxxxxx?subject=3DChange=
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href=3D"http://groups.yahoo.com/group/ukha_d;_ylc=3DX3oDMTJkN=
GV1bWFiBF9TAzk3NDc2NTkwBGdycElkAzExMDk2MzkEZ3Jwc3BJZAMxNzA1MDQxOTkyBHNlYwNm=
dHIEc2xrA2hwZgRzdGltZQMxMzg0ODY1MTMx">
Visit Your Group=20
</a>
<a href=3D"http://info.yahoo.com/legal/us/yahoo/utos/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href=3D"mailto:ukha_d-unsubscribe@xxxxxxx?subject=3DUnsubs=
cribe">
Unsubscribe=20
</a>=20
<br>
</div>
<br>

<!-- **end egp html banner** -->


<div style=3D"color: white; clear:
both;"/>__,_._,___</div>
</body>

</html>

--001a11345e5a120f7204eb870a0f--

UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.