Safemode with networking

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
newguy2forum
Posts: 4
Joined: 03 Jul 2010 07:16

Safemode with networking

#1 Post by newguy2forum » 03 Jul 2010 07:19

I am looking for help in creating a batch file that would allow on click to go into safemode with networking?

In addition with help in a second batch file that would run a program X meaning the code would change based on the program i needed to run id change the name just need to know how to run a program.

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Safemode with networking

#2 Post by aGerman » 03 Jul 2010 08:08

:?: using batch???
Read this and tell us how you would do this by hand.

Regards
aGerman

newguy2forum
Posts: 4
Joined: 03 Jul 2010 07:16

Re: Safemode with networking

#3 Post by newguy2forum » 03 Jul 2010 09:20

im little lost safemode with networking isnt something done by hand. I am attempting to get the computer to restart in safemode but within safemode there is an option to add networking which allows you to get on the internet

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Safemode with networking

#4 Post by aGerman » 03 Jul 2010 10:30

If you're on NT/2000/XP there's probably a way to append/delete the line
/safeboot:network
to section [operating systems] in C:\boot.ini.
But I don't have any idea if you would work on Vista/Win7.

Regards
aGerman

newguy2forum
Posts: 4
Joined: 03 Jul 2010 07:16

Re: Safemode with networking

#5 Post by newguy2forum » 03 Jul 2010 15:22

is there way to make a file that gets you into safemode with networking?

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Safemode with networking

#6 Post by aGerman » 03 Jul 2010 16:21

Not without reboot AND it depends on your OS (but nobody knows your OS!).
The SHUTDOWN command has no option to restart into save mode. Read my previous post. Changing boot.ini is doable using batch. But on Vista/Win7 exists no boot.ini!

Regards
aGerman

newguy2forum
Posts: 4
Joined: 03 Jul 2010 07:16

Re: Safemode with networking

#7 Post by newguy2forum » 04 Jul 2010 07:46

ok i understand much better what you were saying. The question is not specific to any OS because the idea is to be able to get a windows XP, Vista or windows 7 computer into safemode with networking by having the customer download a batch file. Are you aware of any work around where id be able to do this even if its not a batch file? Im trying to create a system where customers can download or do something simple to get into safemode with networking and on restart activate a program to run a scan on their computers(those customers may have windows xp , vista, or 7)

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Safemode with networking

#8 Post by aGerman » 04 Jul 2010 08:01

No, sorry.

Post Reply