Tuesday, October 26, 2021

Auto Run Batch Commands at Client using CCBoot

 - First, Click option button on the top left corner. Then click >> button to open public.txt.

- You will see public.txt opened in Notepad. The usage is:

1) # means comment or unuse.

2) Run -service command - means run the command in NT service at client. For example, run -service ping 192.168.1.1

Set or Change DNS Server in Windows 7/8/10 using Command Prompt

 First, run command prompt as administrator, then type the following command and press enter for each line :

netsh interface ipv4 set dnsservers "Local Area Connection" static 8.8.8.8 primary
netsh interface ipv4 add dnsserver "Local Area Connection" 8.8.4.4 index=2

Note :

- Change 8.8.8.8 or 8.8.4.4 with your DNS Server.

- First line is to set or change primary / preferred dns server.

- Second line is to add secondary / alternate dns server.

- Change "Local Area Connection" with your machine's interface name.To find the name of interface use the following command :

netsh interface show interface

or

netsh interface ipv4 show config

If you want to set obtain DNS Server address automatically, use the following command :

netsh interface ipv4 set dnsservers "Local Area Connection" dhcp

Monday, October 18, 2021

FIVEM Error : Failed to connect to ros.citizenfx.internal port 80


 To fix "Failed to connect to ros.citizenfx.internal port 80 : Timed out" when run FiveM, reroute the ip addresses below to your vpn network :

104.255.105.0/24
192.81.241.0/24

To reroute the ip addresses, use Mikrotik routerboard.

Friday, October 15, 2021

Error VAN 135 in Valorant

- To fix VAN 135 connection error in Valorant, make sure you don't hide any drives in your computer.  To quick unhide any drives, open command prompt and type this command then press enter:

reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDrives /f

- Then type this command to restart explorer and unhide any drives :

taskkill /f /im explorer.exe & start explorer.exe

Prevent Access to Drives from Explorer with Command Prompt

You can restrict access to drives in your computer with command prompt or with batch file. This is usefull when you dont want to edit your diskless image, but you already set batch command to run in task scheduller like in this tutorial : http://learningbytutz.blogspot.com/2020/01/fix-missing-tray-icon-automatically-for.html