Link to home
Create AccountLog in
Avatar of dannyb_123
dannyb_123

asked on

Domain Laptop automatically running a workgroup program when at home

Hi

I have my home LAN set up as a workgroup, and have a work laptop that is on a domain. I can access my shared drives/files on my LAN from the laptop by creating shortcuts with the UNC path. The first time I run the shortcut I'm given the logon popup and once I enter the username and password the program will start. I'd like this logon to be done automatically but I can't work out how to...

I don't mind an unecrypted password being used - I can create an account on my machine that has minimal priveledges and use that to logon so there'll be little security risk.

The program I'm trying to run is called loader.exe and this is what is in the shortcut path currently:
\\mypc\fad\loader.exe "password" /user:Danny /savecred

however, this still prompts me for a username and password. I've tried quite a few variations but I can't get it to work. My aim is to include this in a batch file like this:

********************
if exist \\mypc\fad\loader.exe GOTO start
:finish
Exit

:start
start \\mypc\fad\loader.exe "password" /user:Danny
GOTO finish
********************

so that the program will run whenever the computer is booted at home.

Any ideas?

thanks,
Danny
ASKER CERTIFIED SOLUTION
Avatar of joe-quick
joe-quick
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer