• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:39
CEST 14:39
KST 21:39
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL50Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The GOAT ranking of GOAT rankings How does the number of casters affect your enjoyment of esports? The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Esports World Cup 2025 - Final Player Roster
Tourneys
RSL: Revival, a new crowdfunded tournament series https://www.facebook.com/MiracleSheetsOnline/ [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Player “Jedi” cheat on CSL Unit and Spell Similarities Help: rep cant save Flash Announces Hiatus From ASL
Tourneys
[BSL20] Grand Finals - Sunday 20:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 758 users

[R]Windows Services

Forum Index > General Forum
Post a Reply
neSix
Profile Blog Joined November 2004
United States1772 Posts
July 27 2006 11:59 GMT
#1
How do I write a .exe to start/activate a windows service? I've heard I can use a basic text-editor (like notepad) to turn on a Windows Service such as WZC (wireless zero configuration) through an executable.

I ask because I only need to do this once to connect to my network when my PC starts, so if I can make an .exe I'll be able to run a scheduled task to have it run whenever my computer starts. Thanks!
Hot77.iEy
Profile Blog Joined March 2003
Finland1486 Posts
Last Edited: 2006-07-27 12:42:49
July 27 2006 12:37 GMT
#2
Start -> Run -> "services.msc" -> scroll down to wireless zero configuration > Double click -> Enable ("Automatic" or something)
-.-
pheer
Profile Blog Joined July 2004
5390 Posts
Last Edited: 2006-07-27 12:49:20
July 27 2006 12:47 GMT
#3
yup^^

what that does it set the service to start automatically with windows. problem solved
Moderator
jacen
Profile Blog Joined April 2004
Austria3644 Posts
July 27 2006 13:16 GMT
#4
maybe he wants a "shortcut" to switch the service on or off?
i am sure he already knows how to enable/disable them manually ...

@ topic:
no idea though.
try microsoft support? i am sure they can help you .. if they answer at all.
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
neSix
Profile Blog Joined November 2004
United States1772 Posts
Last Edited: 2006-07-27 14:57:23
July 27 2006 14:54 GMT
#5
On July 27 2006 22:16 jacen wrote:
maybe he wants a "shortcut" to switch the service on or off?
i am sure he already knows how to enable/disable them manually ...

@ topic:
no idea though.
try microsoft support? i am sure they can help you .. if they answer at all.

Correct! I already know how to turn it on and off, and when I have it set to automatic it reconfigures every... half-hour? or so, for like a minute, which is just long enough for me to get disconnected from my BW games. I've found that when I change the options to manual, and just start it when I boot up my computer, there are no more problems.

I already tried microsoft support and didn't really find directions on how to design an executable for the Windows XP Services. I just need some code for a simple text-editor (like notepad) that will flip the WZC on whenever i run that code, so that I can schedule a task to run that .exe every time my machine turns on. That will solve all of my problems. :D
Taiche *
Profile Blog Joined December 2004
France1963 Posts
July 27 2006 19:33 GMT
#6
Yes, this is definitely possible.
Open a console (Run -> cmd) and inside this console type :
net start "Name of the service I want to start"
Similarly, to stop the service :
net stop "Name of the service"

Therefore, you just need to create 2 .bat using Notepad : one that makes the net start and one that makes the net stop.
Just remember that you need Administrato privileges to do that and you're good to go
Manifesto7 Uses ReXplorer, and so should you! : http://repasm.net/rx/
jacen
Profile Blog Joined April 2004
Austria3644 Posts
July 27 2006 22:09 GMT
#7
On July 28 2006 04:33 Taiche wrote:
Yes, this is definitely possible.
Open a console (Run -> cmd) and inside this console type :
net start "Name of the service I want to start"
Similarly, to stop the service :
net stop "Name of the service"

beats me


didn't thought that it would be that easy
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
neSix
Profile Blog Joined November 2004
United States1772 Posts
July 27 2006 22:37 GMT
#8
On July 28 2006 04:33 Taiche wrote:
Yes, this is definitely possible.
Open a console (Run -> cmd) and inside this console type :
net start "Name of the service I want to start"
Similarly, to stop the service :
net stop "Name of the service"

Therefore, you just need to create 2 .bat using Notepad : one that makes the net start and one that makes the net stop.
Just remember that you need Administrato privileges to do that and you're good to go

OK Thanks! This is what I was looking for and I really appreciate it... My problem is that I don't know how to write code for a .bat. If someone could post code that will do this for me, I'd REALLY appreciate it! Once I get my hands on code that will do that, I'll paste it into notepad and save it as a .bat.
neSix
Profile Blog Joined November 2004
United States1772 Posts
July 27 2006 22:46 GMT
#9
Nevermind!

I program C++ in school (I'm turning a senior this year), and if you know anything about C++ you need a million lines of code before even opening your main() function, so that's kind of what I expected this to be like.

But instead I just experimented, and saved the two following files:
start.bat
net start wzcsvc

stop.bat
net stop wzcsvc


to my desktop. Then, when I run the .bat files, it brings up the command prompt (I did a bit of searching on google to figure out exactly how they work, and they're just like an .exe except they run DOS commands, same with a .cmd extension file) and then enters the code inside the file into the command prompt.

Thanks a lot!!! :DD You are my hero<3
Please log in or register to reply.
Live Events Refresh
RSL Revival
10:00
Season 1: Playoffs Day 2
Reynor vs CureLIVE!
Crank 1648
Tasteless1386
ComeBackTV 1066
IndyStarCraft 231
Rex184
3DClanTV 156
IntoTheiNu 76
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1648
Tasteless 1386
Harstem 287
IndyStarCraft 231
Rex 184
StarCraft: Brood War
Britney 45512
Calm 9714
firebathero 6713
Rain 6502
Jaedong 1882
Horang2 1571
Pusan 540
Larva 464
EffOrt 442
actioN 415
[ Show more ]
BeSt 375
Leta 245
Mini 199
ToSsGirL 141
Hyun 131
Light 96
Snow 72
JYJ66
Rush 66
PianO 65
Mind 52
hero 47
Killer 28
JulyZerg 24
Mong 18
Shinee 18
Backho 16
Icarus 15
Barracks 15
HiyA 14
Movie 13
sSak 12
IntoTheRainbow 11
yabsab 10
zelot 10
SilentControl 10
soO 8
Sacsri 7
Bale 3
Dota 2
Gorgc3670
qojqva1828
XcaliburYe550
420jenkins493
XaKoH 455
League of Legends
singsing2950
JimRising 320
Other Games
B2W.Neo1418
DeMusliM502
hiko338
Pyrionflax228
Lowko182
Fuzer 136
ArmadaUGS112
rGuardiaN85
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• StrangeGG 46
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2821
• WagamamaTV118
League of Legends
• Nemesis2694
• Stunt566
Upcoming Events
OSC
21m
WardiTV European League
3h 21m
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
3h 21m
Big Brain Bouts
3h 21m
Korean StarCraft League
14h 21m
CranKy Ducklings
21h 21m
RSL Revival
21h 21m
FEL
1d 3h
RSL Revival
1d 21h
FEL
1d 23h
[ Show More ]
BSL: ProLeague
2 days
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
3 days
The PondCast
4 days
Replay Cast
5 days
RSL Revival
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.