Advertisement
Java_Volume1 Windows System Services #97575

A+ **Disable Antivirus, Firewall, any service!*** A+

This simple code will disable any service on the local machine, good to use to disable a firewall so your app can access the web to check for pirate serial without the user knowing etc, it will also start a service. To find a servicename goto Control Panel > Administrator Tools > Services..

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Private Sub Command1_Click()
'stops Norton Antivirus
StopService "Norton Antivirus Auto Protect Service"
End Sub

Private Sub Command2_Click()
'starts antivirus
StartService "Norton Antivirus Auto Protect Service"
End Sub

Sub StopService(ServiceName As String)
a = """" & ServiceName & """"
'uses the NET STOP function to stop the service
Shell "net stop " & a, vbHide
End Sub
Sub StartService(ServiceName As String)
a = """" & ServiceName & """"
'uses the NET START function to start the service
Shell "net start " & a, vbHide
End Sub
Original Comments (3)
Recovered from Wayback Machine