Insurgency Mod Scum: cheaters, hackers, wallhackers, aimbotters, griefers, teamkillers, micspammers, spawncampers, exitcampers, and everything else Insurgency.
Blogger.com policy on personal information: Personal and confidential information: It's not ok to publish another person's personal and confidential information. For example, don't post someone else's credit card numbers, Social Security numbers, unlisted phone numbers, and driver's license numbers. Also, please keep in mind that in most cases, information that is already available elsewhere on the Internet or in public records is not considered to be private or confidential under our policies.
All information posted on Insurgency Mod Scum is publicly available.

[NOTED][PROTIP] Start & Stop Windows 7 Services As Administrator via Batch File

2015-06-27

Source:
Enable Disable Built In Administrator Acount
https://technet.microsoft.com/en-us/library/dd744293(v=ws.10).aspx

net user administrator /active:yes

Control Panel -> Users
Create password for Administrator.

EverythingServiceStart.bat
runas /user:administrator /savecred "cmd /c net start Everything & timeout 3" 
start /b %cd%\everything\everything.exe

EverythingServiceStop.bat
::runas.exe /user:administrator /savecred "cmd /c net stop Everything & timeout 3"
::runas.exe /user:administrator /savecred "cmd /c taskkill /f /im everything.exe & timeout 3"
runas.exe /user:administrator /savecred "cmd /c net stop Everything & timeout 3 & taskkill /f /im everything.exe & timeout 3"


When using cmd.exe, you can put multiple commands on the same line by using ‘&’ or ‘&&’ between commands. Using a single ampersand (&) will cause the first command and then the second command to be run in sequence. Using double ampersands (&&) introduces error checking. The second command will run only if the first command is successful.

0 comments:

Post a Comment