1.

Solve : net start basic -- start unattended?

Answer»

I am using a netboot CD, and am trying to get it to RUN unattended.

When I run the line "net start basic", it prompts me to confirm my username/password then asks if I want to create a password list (the responses would be {enter}{enter}{n}{enter}). I would like to run this part without user-entries.

I have tried "net start basic /yes" and that does not work.

What does work is "net logon {username} {password} /yes", but this service takes up to much memory and prohibits other services from loading later down the line.

Anybody know how to automate the {enter}{enter}{n}{enter} keystrokes, or how to suppress the prompt?

Thanks,
-darrylYou can redirect input from a file.

Create a file called response.txt with the response that you want ({enter}{enter}{n}{enter}) ... and maybe but an extra [Enter] at the end. So the file should look like:
Code: [Select]

n


If this file is in the same directory as your batch file, then you should be able to do net Code: [Select]start basic <response.txtThis is exactly what I was looking for, but unfortunately it doesn't quite work for me.

When I apply your solution, the computer hangs at the password prompt. It seems to pass the username part, but when username comes up it fails.

Why might this be?Not sure why it isn't working. Maybe try adding an extra [Enter] in the file? Or try taking one away?I've done that. Could it be an issue with memory? Does this kind of input require a significant amount of memory? I'm RUNNING VERY tight on memory usage, there's very little to spare.

Is there any other way to do this?The redirection is going to use very little memory.

Some other suggestions would be to try the NET LOGON, but since you said that uses too much memory, maybe try to address the other memory issues? Or see if the NET START will take some sort of .INI or other config file that you can store the username and password in. For EXAMPLE, I think I remember being to have a uername= and password= in the SYSTEM.INI file that was read by the NET command in DOS 6. I think the documentation is with the LANMAN stuff that USED to come with Windows NT.Thanks for your help Guru... The system.ini is a good place to look, I guess I'll just tweak and browse until I find a solution. I'll post when I do.

Thanks again.Found it! The CHANGE in system.ini in the [network] portion. Add the line

preferredredir=basic
autostart=basic


Then "net logon" works without using so much memory.

Thanks!You're welcome!



Discussion

No Comment Found