Better than Just VPN for the Home Lab



Show first post

26 comments

Userlevel 5
Badge +1

just easy question, have you tried the script without the variable, writing the password manually in that step? or written directly? just to ensure that is not other thing, like previous login attempts or so.
Thanks, Yes, I had already tried it both ways as I worked on the test script.
Believe me, this is not a simple password issue.

Not sure, maybe this is the issue
https://learn.microsoft.com/en-US/troubleshoot/windows-server/networking/accessing-server-locally-with-fqdn-cname-alias-denied


here is the text exact text script, including the exact username and password.
tho i did change tailnet ip/dns.

set username=agent_en10
set password=fdsaasdf#1
set sharename=agent_en10

net use \\127.0.0.1\%sharename% /delete
net use \\localhost\%sharename% /delete
net use \\111.111.111.111\%sharename% /delete
net use \\ts-en10\%sharename% /delete
net use \\ts-en10.tail00000.ts.net\%sharename% /delete

net use \\127.0.0.1\%sharename% /user:%username% "%password%"
net use \\localhost\%sharename% /user:%username% "%password%"
net use \\111.111.111.111\%sharename% /user:%username% "%password%"
net use \\ts-en10\%sharename% /user:%username% "%password%"
net use \\ts-en10.tail00000.ts.net\%sharename% /user:%username% "%password%"

 

Comment