How do I “run only” the agent?

If you do not want or cannot install the agent on the machine that you to be able to remote control, you can use the run only option.

You need to choose this option right from the installer.

Open the installer and select Run instead of Install

This will automatically generate a username and a password for you so you can controle the machine. Use those credentials to log in www.dwservice.net

How do I add an agent to my account?

First, create an account on www.dwservice.net

Log in DWService and click on Agents

Click on the “+” button next to the Refresh icon

Next, enter the name of the machine on which you will install the agent in order to remote control it

It will generate a code that you will have to enter during the installation process.

Now you must install the agent on the machine that you want to be able to remote controle. Download the file from this page.

How to temporarily disable the agent?

To temporarily disable the agent, simply start the DWAgent application and press the “Disable” button.

Why is the remote desktop resolution so low?

Unlike some other remote desktop sotware, DWService does not rely on the RDP protocol. The RDP protocle creates a virtual graphic session which offers, for the remote desktop, the same resolution of local computer.

When accessing a remote desktop through DWService, you will be presented the same resolution as the remote desktop. Therefore to setup a different screen resolution through DWService, you will need to adjust it through the remote desktop settings.

Note that depending on your configuration, if you use a server without a screen you may not be able to adjust it.

Why am I experiencing a slow connection?

You may experience a slow connection for several reasons:

  • The bandwidth is low either on your side or on the remote machine.
  • You may using old hardware for which DWService has not been fully optimized (though it is a problem we try to address on a regular basis).
  • All connections securely go through a Node, a distant server that handle all the traffic. Your remote machine may be located in a place far from a Node.

For more information about Nodes, please visit this page

How do I install the agent silently?

This feature is not allowed by default. Please contact us at support@dwservice.net to authorize your account.
The silent installation feature is only available for companies, businesses, enterprises, organizations, foundations, public entities, public authorities, institutes, etc.

❗First, a few key notes on silent installation:

  • Silent installation, as the name of the feature indicates, only applies to installation. This means that once the Agent has been installed, the silent installation has no effect on the operation of the Agent.
  • After a silent installation, the Agent works as if you had installed it without silent installation.
  • With silent installation, the installer’s graphical user interface (GUI) does not appear during the installation, and the installation does not require any interactions (clicks or data entry).
  • Silent installation does not mean that the Agent will be invisible after installation. That is, all parts of the Agent (the Monitor icon in the taskbar, the Agent icon in the Start menu, the service in the services, the task among the running processes) will be visible. These cannot be hidden.

We show you the options of silent installation for the following situations:

Windows

You may install the agent silently by command lines. This way you can start the installer in two modes:

1. Using the installation code (you must first create the agent in your account):

dwagent.exe -silent key=xxx-xxx-xxx logpath=xxxxxx 

Required parameters:

-silentThis parameter indicates that you are installing the Agent silently.

key=xxx-xxx-xxxThis parameter allows you to specify which Agent you are installing. Instead of xxxxxxxxx, enter the Installation Code that was generated for you when you created the Agent. For example: key=123-456-789

Optional parameter:

logpath=xxxxxx ⇒ Use this parameter to specify the full path to the log file and the file name. This log file records the events of the installation process. In case of a possible error, also the error messages. For example: logpath=C:\install.log

An example: dwagent.exe -silent key=123-456-789 group=DWService logpath=C:\install.log

2. Using credentials (You do not need to create the agent in the account):

dwagent.exe -silent user=xxxxxx password=xxxxxx name=xxxxxx group=xxxxxx logpath=xxxxxx

Required parameters:

-silentThis parameter indicates that you are installing the Agent silently.

user=xxxxxx ⇒ This parameter controls which account the Agent is created in. Instead of xxxxxx, enter the username (email address) of the account. For example: user=your@email.com

password=xxxxxx ⇒ This parameter contains the Agent installation password. Instead of xxxxxx, enter the Agent installation password.
⚠️ Important: The Agent installation password cannot be the same as your account password.
📖 You can read more about the Agent installation password here: Agent installation password

Optional parameters:

name=xxxxxx ⇒ Use this parameter to specify the name of the Agent. Instead of xxxxxx, enter a name, which will be the name of the Agent. For example: name=WindowsPC.
💡If you do not specify this parameter, the Agent will be installed with the name of the device.

group=xxxxxxUse this parameter to assign the Agent to the specified group during installation. For example: group=DWService
⚠️ Note: If the specified group does not exist in your account, the Agent will not be assigned to a group.

logpath=xxxxxx ⇒ Use this parameter to specify the full path to the log file and the file name. This log file records the events of the installation process. In case of a possible error, also the error messages. For example: logpath=C:\install.log

NOTE: The password parameter is not your account password. You can set this password in your DWService account.

If you would like to deploy the Agent using Group Policy, here is an example of a script to do so:

IF NOT EXIST "C:\Program Files\DWAgent\agent.py" copy \\xxx.xxx.xxx.xxx\log$\software\dwservice\dwagent.exe c:\temp\ & c:\temp\dwagent.exe -silent user=xxxxxx password=xxxxxx group=xxxxxx & DEL /F /S /Q /A "c:\temp\dwagent.exe"


Linux

You may install the agent silently by command lines. This way you can start the installer in two modes:

1. Using the installation code (you must first create the agent in your account):

dwagent.sh -silent key=xxx-xxx-xxx logpath=xxxxxx

Required parameters:

-silentThis parameter indicates that you are installing the Agent silently.

key=xxx-xxx-xxxThis parameter allows you to specify which Agent you are installing. Instead of xxxxxxxxx, enter the Installation Code that was generated for you when you created the Agent. For example: key=123-456-789

Optional parameter:

logpath=xxxxxx ⇒ Use this parameter to specify the full path to the log file and the file name. This log file records the events of the installation process. In case of a possible error, also the error messages. For example: logpath=/tmp/install.log

An example: dwagent.sh -silent key=123-456-789 group=DWService logpath=/tmp/install.log

2. Using credentials (You do not need to create the agent in the account):

dwagent.sh -silent user=xxxxxx password=xxxxxx name=xxxxxx group=xxxxxx logpath=xxxxxx

Required parameters:

-silentThis parameter indicates that you are installing the Agent silently.

user=xxxxxx ⇒ This parameter controls which account the Agent is created in. Instead of xxxxxx, enter the username (email address) of the account. For example: user=your@email.com

password=xxxxxx ⇒ This parameter contains the Agent installation password. Instead of xxxxxx, enter the Agent installation password.
⚠️ Important: The Agent installation password cannot be the same as your account password.
📖 You can read more about the Agent installation password here: Agent installation password

Optional parameters:

name=xxxxxx ⇒ Use this parameter to specify the name of the Agent. Instead of xxxxxx, enter a name, which will be the name of the Agent. For example: name=LinuxPC.
💡If you do not specify this parameter, the Agent will be installed with the name of the device.

group=xxxxxxUse this parameter to assign the Agent to the specified group during installation. For example: group=DWService
⚠️ Note: If the specified group does not exist in your account, the Agent will not be assigned to a group.

logpath=xxxxxx ⇒ Use this parameter to specify the full path to the log file and the file name. This log file records the events of the installation process. In case of a possible error, also the error messages. For example: logpath=/tmp/install.log

NOTE: The password parameter is not your account password. You can set this password in your DWService account.


MacOS

For macOS, the silent installation process is different.

Here are the steps:

1. Create a script file. For example: dwagent.sh
2. Copy the script below and paste it into the file.
3. Modify your data in the script file (last line of the script – highlighted with colors).
4. Save the file.
5. Run the script file with the following command: sudo sh dwagent.sh

There are several types of scripts depending on the situation.

1. Using the installation code (you must first create the agent in your account), use the following script:

#!/bin/sh
mkdir /var/tmp
cd /var/tmp
curl --location https://www.dwservice.net/download/dwagent_x86.dmg -o dwagent_x86.dmg
hdiutil attach /var/tmp/dwagent_x86.dmg
cp -r /Volumes/DWAgent/DWAgent.app /Applications/
hdiutil detach /Volumes/DWAgent
rm /var/tmp/dwagent_x86.dmg
cd /Applications/DWAgent.app
/Applications/DWAgent.app/Contents/MacOS/extract
chmod -R 755 /Applications/DWAgent.app
/Applications/DWAgent.app/Contents/MacOS/Install /Applications/DWAgent.app/ Y -silent key=xxx-xxx-xxx logpath=xxxxxx

Required parameters:

-silentThis parameter indicates that you are installing the Agent silently.

key=xxx-xxx-xxxThis parameter allows you to specify which Agent you are installing. Instead of xxxxxxxxx, enter the Installation Code that was generated for you when you created the Agent. For example: key=123-456-789

Optional parameter:

logpath=xxxxxx ⇒ Use this parameter to specify the full path to the log file and the file name. This log file records the events of the installation process. In case of a possible error, also the error messages. For example: logpath=$HOME/Documents/install.log

2.1 If you are installing the Agent using Credentials and you specify the Agent name:

#!/bin/sh
mkdir /var/tmp
cd /var/tmp
curl --location https://www.dwservice.net/download/dwagent_x86.dmg -o dwagent_x86.dmg
hdiutil attach /var/tmp/dwagent_x86.dmg
cp -r /Volumes/DWAgent/DWAgent.app /Applications/
hdiutil detach /Volumes/DWAgent
rm /var/tmp/dwagent_x86.dmg
cd /Applications/DWAgent.app
/Applications/DWAgent.app/Contents/MacOS/extract
chmod -R 755 /Applications/DWAgent.app
/Applications/DWAgent.app/Contents/MacOS/Install /Applications/DWAgent.app/ Y -silent user=xxxxxx password=xxxxxx name=xxxxxx group=xxxxxx logpath=xxxxxx


Required parameters:

-silentThis parameter indicates that you are installing the Agent silently.

user=xxxxxx ⇒ This parameter controls which account the Agent is created in. Instead of xxxxxx, enter the username (email address) of the account. For example: user=your@email.com

password=xxxxxx ⇒ This parameter contains the Agent installation password. Instead of xxxxxx, enter the Agent installation password.
⚠️ Important: The Agent installation password cannot be the same as your account password.
📖 You can read more about the Agent installation password here: Agent installation password

Optional parameters:

name=xxxxxx ⇒ Use this parameter to specify the name of the Agent. Instead of xxxxxx, enter a name, which will be the name of the Agent. If you do not specify this parameter, the Agent will be installed with the name of the device. For example: name=MacOS

group=xxxxxxUse this parameter to assign the Agent to the specified group during installation. For example: group=DWService
⚠️ Note: If the specified group does not exist in your account, the Agent will not be assigned to a group.

logpath=xxxxxx ⇒ Use this parameter to specify the full path to the log file and the file name. This log file records the events of the installation process. In case of a possible error, also the error messages. For example: logpath=$HOME/Documents/install.log

2.2 If you are installing the Agent with Credentials and you do NOT specify the Agent name (in this case, the device name will be the Agent name):

#!/bin/sh
name="name=""$(hostname -s)"
mkdir /var/tmp
cd /var/tmp
curl --location https://www.dwservice.net/download/dwagent_x86.dmg -o dwagent_x86.dmg
hdiutil attach /var/tmp/dwagent_x86.dmg
cp -r /Volumes/DWAgent/DWAgent.app /Applications/
hdiutil detach /Volumes/DWAgent
rm /var/tmp/dwagent_x86.dmg
cd /Applications/DWAgent.app
/Applications/DWAgent.app/Contents/MacOS/extract
chmod -R 755 /Applications/DWAgent.app
/Applications/DWAgent.app/Contents/MacOS/Install /Applications/DWAgent.app/ Y -silent user=xxxxxx password=xxxxxx "${name}" group=xxxxxx logpath=xxxxxx

Required parameters:

-silentThis parameter indicates that you are installing the Agent silently.

user=xxxxxx ⇒ This parameter controls which account the Agent is created in. Instead of xxxxxx, enter the username (email address) of the account. For example: user=your@email.com

password=xxxxxx ⇒ This parameter contains the Agent installation password. Instead of xxxxxx, enter the Agent installation password.
⚠️ Important: The Agent installation password cannot be the same as your account password.
📖 You can read more about the Agent installation password here: Agent installation password

"${name}"This variable contains the name of the device. Do not change this parameter, just leave it as it is.

Optional parameter:

group=xxxxxxUse this parameter to assign the Agent to the specified group during installation. For example: group=DWService
⚠️ Note: If the specified group does not exist in your account, the Agent will not be assigned to a group.

logpath=xxxxxx ⇒ Use this parameter to specify the full path to the log file and the file name. This log file records the events of the installation process. In case of a possible error, also the error messages. For example: logpath=$HOME/Documents/install.log

NOTE: The password parameter is not your account password. You can set this password in your DWService account.


Proxy

Using a proxy is optional. It should be used when the Agent accesses the Internet through a proxy.

Proxy can be configured with the following parameters:

proxyType=xxxxxx proxyHost=xxxxxx proxyPort=xxxxxx proxyUser=xxxxxx proxyPassword=xxxxxx

Required parameters:

proxyType=xxxxxxYou can specify the type of the proxy with this parameter. This can be one of these:

      • HTTP
      • SOCKS5
      • SOCKS4
      • SOCKS4a

proxyHost=xxxxxx ⇒ With this parameter you can specify the address / path of the proxy. 

proxyPort=xxxxxx ⇒ With this parameter you can specify the port used by the proxy.

proxyUser=xxxxxx ⇒ With this parameter you can specify the username used for the proxy.

proxyPassword=xxxxxx ⇒ With this parameter you can specify the password of the user used for the proxy.

 

How do I hide the notification message?

If you want to hide the notification message, please, open the DWAgent and follow the steps below :

🗑️ How do I manually remove the agent on a MacOS?

The easiest way to remove manually the agent on macOS is by deleting its files and folder.

On your macOS system, open Finder.

  1. Go to (hard drive)/Library. You will find a DWAgent folder. Just delete it.

💡 Or use the Terminal to execute the following command:

sudo rm -r -f /Library/DWAgent

2. Go to (hard drive)/Applications. You will find DWAgent. Just delete it.

💡 Or use the Terminal to execute the following command:

sudo rm -r -f /Applications/DWAgent.app

3. Then delete the files below :

  • (Hard Drive)/Library/LaunchAgents/net.dwservice.aglac.plist
  • (Hard Drive)/Library/LaunchAgents/net.dwservice.agsystray.plist

💡 Or use the Terminal to execute the following commands:

sudo rm -f /Library/LaunchAgents/net.dwservice.aglac.plist
sudo rm -f /Library/LaunchAgents/net.dwservice.agsystray.plist

4. Delete the following file:

  • (Hard Drive)/Library/LaunchDaemons/net.dwservice.agsvc.plist

💡 Or use the Terminal to execute the following command:

sudo rm -f /Library/LaunchDaemons/net.dwservice.agsvc.plist

5. Restart the MacOS.


💡 Alternatively, you can create a script file (for example: dwagent_uninstall.sh) that contains all of the above commands and performs the removal of the Agent from the MacOS system with one command. Using this method, do the following:

  1. Create a plain text file and name it for example dwagent_uninstall.sh
  2. Copy and Paste the following commands into the dwagent_uninstall.sh:
    ⚠️ If the Agent is not installed in the default location, enter the current installation path instead of “/Library/DWAgent”.

#!/bin/sh
rm -r -f /Library/DWAgent
rm -r -f /Applications/DWAgent.app
rm -f /Library/LaunchAgents/net.dwservice.aglac.plist
rm -f /Library/LaunchAgents/net.dwservice.agsystray.plist
rm -f /Library/LaunchDaemons/net.dwservice.agsvc.plist

3. Save the file.
4. Execute dwagent_uninstall.sh using the following command:

sudo sh dwagent_uninstall.sh

5. Restart MacOS.

 

How do I install the agent?

Before installing the agent, you must first add an agent to your personal DWService dashboard

Go to the download page and get the agent for your operating system. You must install the agent on the machine that you want to be able to remote controle.

Once opened choose the Install option

Next, choose where you want to install the agent.

Confirm another time that you wish to proceed with the installation by selecting Yes

The installation process will begin as shown below

Next, choose you will be prompted to enter  an installation code. This is the code that you generated when adding an agent to your dashboard account. This code will ensure that you do have the right to control this machine.

After entering the code, click Next and you are done

 

How do I use the service?

The connection to a remote system requires that an agent is running on it. The agent is generally installed permanently so that the connection is always available.
Alternatively you can choose to run the agent on demand.

DWService install or Run option
The choice between the two modes is done during installation.