N
N
nfire2020-05-30 12:41:22
PowerShell
nfire, 2020-05-30 12:41:22

What command can be used to repeat the "Suspend Process" action in the Resource Monitor on the "Network" tab?

To play, you need to block access to the Internet for a few seconds. The desired effect is achieved through "Suspend the process" - "Resume the process" in the Resource Monitor on the "Network" tab. As a result, the player is in a single session.
If you do this through the built-in firewall, then the game often goes offline, and not just throws it into a single session. But sometimes it works the way it should. Through the monitor always works as it should.

netsh advfirewall firewall add rule name="gtav" dir=in action=block program="e:\epic\GTAV\GTA5.exe"
TIMEOUT /T 10 /NOBREAK
netsh advfirewall firewall delete rule name="gtav"

How can I reproduce this with a script? You can use a third-party program if it supports launching from the command line.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2020-05-30
@nfire

Download sysinternals
https://docs.microsoft.com/en-us/sysinternals/down...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question