1. How to enable secure login (HTTPS)?
Description
In Desktop Central, you can use HTTPS to enable you to login to the Desktop Central server in a secure environment. For example, if you are logging into the Desktop Central server from a computer outside your LAN or WAN, you can use a secure login (HTTPS).
Steps
To enable HTTPS in your Desktop Central server, follow the steps given below:
	- Click the Admin tab
 
    - In the Global Settings section, click Server Settings
 
    - In the General Settings section, check the Enable Secure Login (HTTPS) checkbox
Note: You can also use a third-party SSL certificate.
 
    - Click Save Changes
 
You have enabled the secure login feature (HTTPS) in Desktop Central.
Questions
2. How to change the Web Server port used by Desktop Central?
Description
By default, the Desktop Central server uses port 8020 to complete the following tasks:
	- Enable agent-server communication
 
	- Access the Web client 
 
This port is chosen  during the installation of the Desktop Central server. You can change the port number after installation, if required.
Steps
You have to complete the following tasks to:
  Warning! : 
  
    - If the port number is changed in the Desktop Central Server, ensure that you update the correct port number in Desktop Central agents. Until this change is done,  Desktop Central agents will keep contacting the previous port number and will not be able to reach the Desktop Central Server. This would affect the complete desktop management activity.
 
    - When the port details are changed on the server, all the enrolled mobile devices get unmanaged and all profiles applied through MDM get removed. You must re-enroll all the devices you want to manage after the port change is made. As the management of mobile devices would get affected until then, it is recommended not to change the server port number.
 
  
 
Changing the port numbers in the Desktop Central server
To change the port number after the Desktop Central server is installed, follow the steps given below:
	- Stop the Desktop Central server. Follow the steps given below:
    	
    		- Click start
 
    		- Point to Programs>ManageEngine Desktop Central
 
    		- Click Stop DesktopCentral
 
    	
	 
    -  Open the websettings.conf located in <Install_Dir>\DesktopCentral_Server\conf. For example, C:\Program Files\DesktopCentral_Server\conf.
 
    -  Change the port numbers for the following keys with the required values:
    	
	
 
    - Save the file and close it
 
    - Start the Desktop Central server. Follow the steps given below:
    	
    		- Click start
 
    		- Point to Programs>ManageEngine Desktop Central
 
    		- Click Start DesktopCentral
 
    	
     
You can now connect to the Web console of the Desktop Central server using the new port numbers that you have specified. You are now required to update the Desktop Central agents with the new port numbers. 
Updating the port numbers in the Desktop Central agents
To update the new port numbers in the Desktop Central agents, in your client computers,  follow the steps given below:
For computers in a  LAN
To update the the new port numbers in the Desktop Central agents in client computers in your LAN, follow the steps given below:
Note: Ensure that the computers in which the agents are installed are switched on.
- Click the Admin tab
 
- In the Global Settings, click Scope of Management
 
- Select the required computers
 
- Click Install Agent
 
- Click OK
 
The new port numbers will be updated in the Desktop Central agents immediately. 
For branch offices using Distribution Servers
To update the the new port numbers in distribution servers in your branch office, follow the steps given below:
- Download the script configureDCAgentServerCommunication_7.txt
 
- Rename it to configure-dc-distributionserver-communication-7.vbs
 
- Run this script in each of the distribution servers in your branch offices. Follow the steps given below:
- Open a command prompt
 
- Enter the following command
configure-dc-distributionserver-communication-7.vbs <ServerName> <ServerIP>  <HTTP Port> <HTTPS Port> <Protocol>
- <ServerName>  refers  to the DNS name of the computer where the Desktop Central server is  installed
 
- <ServerIP> refers  to the IP address of the computer where the Desktop Central Server is  installed
 
- <HTTP Port>  refers  to the normal port that Desktop Central agents use to contact the Desktop Central  server. The default port number is 8020.
 
- <HTTPS Port>  refers  to the secured port that Desktop Central agents use to contact the Desktop Central  server. The default port number is 8383. 
 
- <Protocol> refers to the communication protocol between Desktop Central agents and the Desktop Central server. This can either be HTTP or HTTPS.
 
 
- Press Enter
 
 
The new port numbers will be updated immediately in the distribution server. You are now required to update the new port numbers in the Desktop Central agents in the client computers in each branch office in your WAN.
For branch offices in  a WAN
To update the the new port numbers in the Desktop Central agents in client computers in your branch office in a WAN, follow the steps given below:
	- Download the script configureDCAgentServerCommunication_7.txt.
 
    - Rename it to configureDCAgentServerCommunication7.vbs
Note: If you are using Desktop Central 6, use this script  configureDCAgentServerCommunication_6.txt.
 
    - Run this script from each of your branch office  computers. Follow the steps given below:
    
- Open a command prompt
 - Enter the following command:
cscript configureDCAgentServerCommunication_7.vbs <ServerName> <ServerIP>  <HTTP Port> <HTTPS Port> <Protocol>
 - Press Enter 
 
     
The new port numbers will be updated in the Desktop Central agents immediately.
Executing a script on multiple computers
To execute a script on multiple computers, run the script from each  of your branch offices using the steps given below:
Note: Ensure that the computers in which the agents are installed are switched on.
                                  - Create a network share in your computer
 
                                  - Download the script configureDCAgentServerCommunication_7.txt.
 
                                  - Rename it to configureDCAgentServerCommunication_7.vbs
 
                                  - Save the  vb  script in the network share that you created
 
                                  - Download the PsExec utility from http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx 
 
                                  - Save it
 
                                  - Run the script using the following command. Follow the steps given below:
                                    
                                      - Click start>Run
 
                                      - Enter the following command:
C:\for /f %f in (c:\computernames.txt) do psexec \\%f -u  <domain>\administrator -p <password> CSCRIPT  \\MyServer\MyShare\configureDCAgentServerCommunication.vbs <ServerName> <ServerIP>  <HTTP Port> <HTTPS Port> <Protocol>
where,
                                      
                                      - computernames.txt contains the list of  computers  in which you must  install an agent. Specify the complete path for each computer.
 
                                      - <domain> refers to the name of a domain or a  workgroup
 
                                      - <password> refers to the administrator's password for a domain or a  workgroup
 
                                      - <ServerName> refers to the DNS name of the computer where Desktop Central Server is  installed
 
                                      - <ServerIP> refers  to the IP Address of the computer where Desktop Central Server is  installed
 
                                      - <HTTP Port> refers to the normal port that the agents use to contact the Desktop  Central Server
 
                                      - <HTTPS Port> refers to the secured port that the agents use to contact the Desktop  Central Server
 
                                      - <Protocol> refers to the communication protocol between the agent and the server. This can either be HTTP or HTTPS.
 
                                      
                                       
                                      - Press Enter
 
                                    
                                   
                                
                                You have executed a script in multiple computers.
                              Questions