Skip to content

Commit

Permalink
Merge e58881c into da7eded
Browse files Browse the repository at this point in the history
  • Loading branch information
silversword411 committed Apr 19, 2021
2 parents da7eded + e58881c commit 55027f1
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
16 changes: 13 additions & 3 deletions api/tacticalrmm/scripts/community_scripts.json
Expand Up @@ -82,7 +82,7 @@
},
{
"guid": "9d34f482-1f0c-4b2f-b65f-a9cf3c13ef5f",
"filename": "Win_Rename_Installed_App.ps1",
"filename": "Win_TRMM_Rename_Installed_App.ps1",
"submittedBy": "https://github.com/bradhawkins85",
"name": "TacticalRMM Agent Rename",
"description": "Updates the DisplayName registry entry for the Tactical RMM windows agent to your desired name. This script takes 1 required argument: the name you wish to set.",
Expand Down Expand Up @@ -470,6 +470,16 @@
"category": "TRMM (Win):Network",
"default_timeout": "90"
},
{
"guid": "745bb7cd-b71a-4f2e-b6f2-c579b1828162",
"filename": "Win_Network_DHCP_Set.bat",
"submittedBy": "https://github.com/silversword411",
"name": "Network - Set Primary NIC to DHCP",
"description": "Enable DHCP on primary adapter",
"shell": "cmd",
"category": "TRMM (Win):Network",
"default_timeout": "90"
},
{
"guid": "6ce5682a-49db-4c0b-9417-609cf905ac43",
"filename": "Win_Win10_Change_Key_and_Activate.ps1",
Expand All @@ -484,8 +494,8 @@
"guid": "83f6c6ea-6120-4fd3-bec8-d3abc505dcdf",
"filename": "Win_TRMM_Start_Menu_Delete_Shortcut.ps1",
"submittedBy": "https://github.com/silversword411",
"name": "TRMM Delete Start Menu Shortcut for App",
"description": "Tactical RMM delete its application shortcut that's installed in the start menu",
"name": "TacticalRMM Delete Start Menu Shortcut for App",
"description": "Delete its application shortcut that's installed in the start menu by default",
"shell": "powershell",
"category": "TRMM (Win):TacticalRMM Related",
"default_timeout": "10"
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/troubleshooting.md
Expand Up @@ -51,6 +51,15 @@ This will print out a ton of info. You should be able to see the error from the

Please then copy/paste the logs and post them either in our [Discord support chat](https://discord.gg/upGTkWp), or create a [github issue](https://github.com/wh1te909/tacticalrmm/issues).

##### Alternate - Agent not connecting to server

Uninstall client
```
"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT
```

Then reinstall agent

<br/>

#### All other errors
Expand Down
13 changes: 13 additions & 0 deletions scripts/Win_Network_DHCP_Set.bat
@@ -0,0 +1,13 @@
@echo off
for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j

if "%version%" == "6.1" (
rem Windows 7
netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp
)
if "%version%" == "10.0" (
rem Windows 10
netsh interface ip set address Ethernet dhcp
netsh interface ip set dns Ethernet dhcp
)
File renamed without changes.

0 comments on commit 55027f1

Please sign in to comment.