here is the batch file right now.
net stop server
net start server
net start "computer browser"
how can I automate this so I don't have to enter Y for each?
I just tried your batch file, and I wasn't required to enter Y at any
time. Under what conditions does it ask you that? What is the exact
screen output?
Maybe the SC command would work better for you.