Re: How to execute a bat script every startup, even in SafeMode?
Hi Dave,
You're probably right. But let's sum up: I've got a Win2k Pro acting
as a file and print server. Both, file sharing and printing from a
"Client" don't work properly for whatever reason when the "server" is
not logged in. That's why the server now logs in automatically. To
protect it, I'd like to lock it automatically, too. This can be
achieved by placing a link pointing to a batch file in either the
registry or the auto start folder. However, this doesn't work when
someone boots in safe mode. Those links are ignored in that case. So I
was looking for a way to start that batch file _once_ after a log in
to protect the server, even in safe mode. From what you wrote, I
thought a service that runs even in safe mode might do the trick. And
the tools you mentioned seemed to be all I need to turn said batch
file into a service. Of course, I do _not_ want something that
continuously locks the "server" (=locks it as soon as it's unlocked),
as it would make it impossible to do maintenance work on it (e. g.
installing/updating programs).
Making sure file and printer sharing run without having to log in
might also be a solution. However, I don't know what programs I'd have
to turn into a service to achieve that. Besides, I thought usually
this ought to work without logging in anyway. Which it currently
doesn't. Also, I'm not sure the virus scanner and firewall would
actually start completely before logging in.
So, again, my problem is: How do I lock the "server" after it has
logged in? :)
Kind regards,
Christian
On 17 Aug., 05:20, "Dave Patrick" wrote:
> You seem to have missed the point. I'd run the application as a service so
> the computer doesn't need to be logged on.
date: Fri, 17 Aug 2007 01:00:28 -0700
author: Christian