Certain organisations who use NHServer heavily to process e-mails and appointments, and have NHServer set up as a scheduled task, may wish to separate out the email sync from the calendar sync, and scan each separately, on a separate schedule. NHServer uses a .ini file to store information and changes specified to help run a scan. Any changes you make to this part of the program will be stored in this .ini file.
Splitting the two processes out into separate tasks will mean creating a separate .ini file for the Calendar scan process, so the NHServer processes each look at their own .ini file.
To do this:
1. On the server that NetHelpDesk is installed on, go to the …\NetHelpDesk\Win\Configs folder, or installation folder if different.
2. In the Configs folder will be a file called NHServer.ini.
3. To separate the processes out, create a copy of this file into the same location, and rename the file to NHServerCalendar.ini.
4. The next step is to create a copy of the nhserver.exe file from the NetHelpDesk\Win folder and rename the file to NHServerCalendar.exe.
5. In the …\NetHelpDesk installation folder will be a shortcut for NHServer. Take a copy of this shortcut in the same area, and rename to shortcut to NHServer Calendar, so that you have two shortcuts to NHServer, but can determine easily between the two.
6. Right-click on your new shortcut, and select Properties.
7. The Target line will show as the path to NHServer.exe followed by the path to the udl file. The .udl file tells the program where to store information for the database.
Within NHServer, you can specify 6 parameters that can be used after the .exe path in the target line, to run different items of NHServer in different ways.
You don’t need to know the other parameters here, you just need to know that if they are not being used, you specify the word blank to tell the program to ignore that parameter.
a) The .udl file is the first (1st) parameter.
b) The .ini file is the fourth (4th) parameter.
So, at the moment, without any changes, after the path to the NHServer.exe file, there should already be a space, followed by the NetHelpDesk.udl file specification. In this example, we have put C:\, however, yours will have the Server name in its place.
e.g. C:\NetHelpDesk\Win\NHServer.exe C:\NetHelpDesk\NetHelpDesk.udl
7. Change the NHServer.exe to NHServerCalendar.exe and keep the .udl file the same. Then specify the word blank twice.
e.g. C:\NetHelpDesk\Win\NHServerCalendar.exe C:\NetHelpDesk\NetHelpDesk.udl blank blank
8. After the last blank, add the file path and name of the new config file as the fourth parameter.
e.g. C:\NetHelpDesk\Win\NHServerCalendar.exe C:\NetHelpDesk\NetHelpDesk.udl BLANK BLANK C:\NetHelpDesk\Win\Configs\NHServerCalendar.ini
Whilst it is on two separate lines above, it will be all on one line in the target line itself.
9. Click Apply and then OK to save your changes.
10. Now, launch the NHServer program, not the new Calendar one you have just created.
11. Select the Config2 – Features tab, deselect the Enable Calendar Synchronisation option.
12. Click Save Settings and close the program. The settings for your e-mail sync have been completed, and stored in the NHServer.ini file.
13. Now launch your new shortcut for NHServer Calendar shortcut, and select the Config2 – Features tab.
14. We need to have settings now that are the exact opposite of the ones above. The scan above will handle those other settings, so we are safe to deselect any that are selected in the previous screen.
15. Also, the Enable Calendar Synchronisation selection needs to now be selected, to ensure that this instance of NHServer configuration settings just relates to the Calendar synchronisation, and not the e-mail.
16. Click Save Settings and close the program down.
17. You will now have 2 NHServer shortcuts configured, one for Email Processing, and the other for Calendar Synchronisation.
18. If you are running NHServer as a scheduled task, it is now possible set up a new scheduled task for the NHServer Calendar Sync the same way as creating the original task for NHServer.
19. In the arguments, add the path to the NHServerCalendar config file as the fourth parameter, much like the shortcut above.
e.g. C:\NetHelpDesk\nethelpdesk.udl once blank nhservercalendar.ini
20. If you are using Office 365 for e-mail or calendar appointments, you will need to add the sixth parameter to use the MAPI NT Service.
e.g. “C:\NetHelpDesk\nethelpdesk.udl once blank nhservercalendar.ini blank MAPINTSERVICE
NetHelpDesk is available on a range of devices with industry-leading functionality available throughout.