Category Archives: Uncategorized

LetsEncrypt with ServiceDeskPlus

Here are my notes for using a LetsEncrypt SSL certificate with ManageEngine ServiceDesk Plus.

Generate a LetsEncrypt SSL certificate

In my environment, I’m running SDP on a Windows Server. I installed Certbot for Windows on the Windows server.

Once installed, I issued the following command on the Windows Server.

certbot certonly --standalone -d ticket.domain.com

Replace ticket.domain.com with your properly configured domain name for the LE certificate.

Generate PKCS#12 Format Certificate

To import the LetsEncrypt certificate into SDP, we need to generate a certificate file in PKCS#12 format. The .pfx file, which is in a PKCS#12 format, contains the SSL certificate (public keys) and the corresponding private keys in one file.

On my Windows Server, I already have OpenSSL installed; if you do not, you can visit Binaries – OpenSSLWiki to install it.

When LetsEncrypt installed my new SSL certificates, they were installed into C:\Program Files\Certbot\archive\ticket.domain.com\.

Open an elevated command prompt, and issue the following commands. Take note to change the ticket.domain.com to suit your specific setup.

cd "C:\Program Files\Certbot\archive\ticket.domain.com\"
openssl pkcs12 -export -out certificate.pfx -inkey privkey1.pem -in cert1.pem -certfile chain1.pem

You’ll be prompted to create a passphrase for the PFX.

Once completed, you’ll have a newly created PFX file, certificate.pfx.

Import SSL Certificate into ServiceDeskPlus

Log into ServiceDeskPlus and head to the Admin section. Use the Search feature and type in SSL. You should get a result for Import SSL Certificate. You can navigate directly to that section by going to Admin > General Settings section > Import SSL Certificate.

Here, you will select the newly created certificate.pfx and provide the passphrase you used when creating it.

If all goes accordingly, the PFX will be imported and ready to use. You must restart the ServiceDeskPlus server (not Windows) for the newly imported certificate to be used.

ChromeOS Flex Download

Direct download of the ChromeOS Flex bin files are available at Chromium Dash.

The ChromeOS Flex recovery does not work on Linux, but you can use the following to workaround that.

Here are the instructions for the Linux script:   

  1. On the Linux computer, download the Recovery Tool.
  2. Change the script permissions to allow execution with the following command: 
    sudo chmod 755 linux_recovery.sh
  3. Run the script with root privileges with the following command: 
    sudo bash linux_recovery.sh --config https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery.conf
  4. Follow the on-screen instructions to create recovery media.
  5. To continue to recover your Chromebook, follow the steps above.  
--config https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery.conf

Here are a couple photos of me running this on a Lenovo ThinkCentre M70z 16GB RAM i5-10400U 6 core with 512GB SSD.

Uninstall ManageEngine DesktopCentral Agent

Here are some methods to remove the ManageEngine DesktopCentral Agent.

@echo OFF
Rem Manage Engine Desktopcentral Agent Uninstallation String
Rem This bat file will uninstall the Desktopcentral Agent
%SystemRoot%\system32\msiexec.exe /x{6AD2231F-FF48-4D59-AC26-405AFAE23DB7} MSIRESTARTMANAGERCONTROL=Disable REBOOT="ReallySuppress" /qn 

Agent Uninstall Tool

https://www.manageengine.com/products/desktop-central/desktop_agent_uninstallation.html

Local Copy:

Agent Uninstall VBScript

'Manage Engine Desktopcentral Agent .

'Script to Clean up ManageEngine Desktop Central Agent from Add remove programs .
'================================================================================

On Error Resume Next

Set WshShell = WScript.CreateObject("WScript.Shell")
   WshShell.RegRead("HKEY_CLASSES_ROOT\Installer\Products\F1322DA684FF95D4CA6204A5AF2ED37B\SourceList\Net\")
   WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\F1322DA684FF95D4CA6204A5AF2ED37B\SourceList\Net\"
   WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\F1322DA684FF95D4CA6204A5AF2ED37B\SourceList\Media\"
   WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\F1322DA684FF95D4CA6204A5AF2ED37B\SourceList\"
   WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\F1322DA684FF95D4CA6204A5AF2ED37B\"

'Uninstall Agent and Remote Control Service
'==========================================
WshShell.Run "%windir%\system32\sc stop "   &Chr(34)& "ManageEngine Desktop Central - Agent"  &Chr(34),1,True
WshShell.Run "%windir%\system32\sc delete " &Chr(34)& "ManageEngine Desktop Central - Agent"  & Chr(34),1,True
WshShell.Run "%windir%\system32\sc stop "   &Chr(34)& "ManageEngine Desktop Central - Remote Control"  &Chr(34),1,True
WshShell.Run "%windir%\system32\sc delete " &Chr(34)& "ManageEngine Desktop Central - Remote Control"  & Chr(34),1,True

'**********************************************************************************************************************

ManageEngine SupportCenter Plus: Changing Request Starting ID

How to change the starting request ID number in ManageEngine SupportCenter Plus. For ServiceDesk Plus MSP, see ManageEngine ServiceDesk Plus MSP.

In the ManageEngine installation directory, I’ll assume C:\ManageEngine\SupportCenter

For MySQL

  1. C:\ManageEngine\SupportCenter\mysql\bin\mysql.exe -u root -P 33356 supportcenter
  2. mysql> insert into workorder (WORKORDERID,REQUESTERID,DEPARTMENTID) values (4999,2,1);
    Where request ID is 4999, Requesterid is 2 and Department ID is 1
  3. Restart SupportCenter service

For MSSQL

  1. insert into workorder (WORKORDERID,REQUESTERID,CREATEDTIME,DUEBYTIME,DEPARTMENTID) values (4999,2,0,0,1);
  2. Restart SupportCenter service

For Postgres

  1. C:\ManageEngine\SupportCenter\pgsql\bin\psql.exe -U postgres -p 65432 -d supportcenter
  2. postgres# insert into workorder (WORKORDERID,REQUESTERID,CREATEDTIME,DUEBYTIME,DEPARTMENTID) values (4999,2,0,0,1);
  3. Restart SupportCenter service

Change OpManager v11 PDF Report Footer

When generating reports in OpManager v11 and exporting as PDF, the footer contains ManageEngine OpManager Page : as the footer.

To change this, on your OpManager install, navigate to the installation path of OpManager and modify conf\randProps.properties file.  Add the following line and customize accordingly.

pdfFooterText=Your Company or Whatever | email@yourdomain.com |  Page:

You do not need quotes surrounding the pdfFooterText variable.

Save the file and go generate a report and export to PDF.  Enjoy!

AutoDesk 2014 Feature Codes

These are the AutoDesk 2014 feature code listings.

ProductFeature Code
AutoCAD 201486063ACD_2014_0F
AutoCAD Architecture 201486137ARCHDESK_2014_0F
AutoCAD Civil 3D 201486173CIV3D_2014_0F
AutoCAD Design Suite Premium 201486119DSPRM_2014_0F
AutoCAD Design Suite Standard 201486120DSSTD_2014_0F
AutoCAD Design Suite Ultimate 201486121DSADV_2014_0F
AutoCAD ecscad 201486149ECSCAD_2014_0F
AutoCAD Electrical 201486150ACAD_E_2014_0F
AutoCAD Inventor LT Suite 201486127INVLTS_2014_0F
AutoCAD LT 201486064ACDLT_2014_0F
AutoCAD Map 3D 201486174MAP_2014_0F
AutoCAD Mechanical 201486138AMECH_PP_2014_0F
AutoCAD MEP 201486139BLDSYS_2014_0F
AutoCAD P&ID 201486109PNID_2014_0F
AutoCAD Plant 3D 201486110PLNT3D_2014_0F
AutoCAD Raster Design 201486140ARDES_2014_0F
AutoCAD Revit LT Suite 201486068RVTLTS_2014_0F
AutoCAD Structural Detailing 201486074STRDET_2014_0F
Autodesk 3ds Max 2014860803DSMAX_2014_0F
Autodesk 3ds Max Design 201486081MAXDES_2014_0F
Autodesk 3ds Max Entertainment Creation Suite Premium 201486090MXECSP_2014_0F
Autodesk 3ds Max Entertainment Creation Suite Standard 201486091MXECS_2014_0F
Autodesk Alias Automotive 201486082AUTOST_2014_0F
Autodesk Alias Design 201486083DESNST_2014_0F
Autodesk Alias Surface 201486084SURFST_2014_0F
Autodesk AutoCAD Utility Design 201486126UTLDESN_2014_0F
Autodesk Building Design Suite Premium 201486071BDSPRM_2014_0F
Autodesk Building Design Suite Standard 201486072BDSS_2014_0F
Autodesk Building Design Suite Ultimate 201486073BDSADV_2014_0F
Autodesk Design Academy 201486104DES_ACA_2014_0F
Autodesk Education Master Suite 201486112EMS_2014_0F
Autodesk Entertainment Creation Suite Ultimate 201486087ENCSU_2014_0F
Autodesk Fabrication CADmep 201486184CADMEP_2014_0F
Autodesk Fabrication CAMduct 201486178CAMDCT_2014_0F
Autodesk Fabrication CAMduct Components 201486181CAMLTE_2014_0F
Autodesk Fabrication ESTmep 201486185ESTMEP_2014_0F
Autodesk Fabrication RemoteEntry 201486187RMNTRY_2014_0F
Autodesk Fabrication Tracker 201486189TRCKIT_2014_0F
Autodesk Factory Design Suite Premium 201486128FDSPRM_2014_0F
Autodesk Factory Design Suite Standard 201486129FDSS_2014_0F
Autodesk Factory Design Suite Ultimate 201486130FDSADV_2014_0F
Autodesk Factory Design Utilities 201486198FDU_2014_0F
Autodesk Infrastructure Design Suite Premium 201486123IDSP_2014_0F
Autodesk Infrastructure Design Suite Standard 201486124IDSS_2014_0F
Autodesk Infrastructure Design Suite Ultimate 201486125IDSU_2014_0F
Autodesk Infrastructure Map Server 201486176IMS_2014_0F
Autodesk InfraWorks 201486175INFMDR_2014_0F
Autodesk Inventor 201486159INVNTOR_2014_0F
Autodesk Inventor Engineer-to-Order Series 201486135INVETO_2014_0F
Autodesk Inventor Engineer-to-Order Server 201486136INTSER_2014_0F
Autodesk Inventor LT 201486161INVLT_2014_0F
Autodesk Inventor Professional 201486163INVPROSA_2014_0F
Autodesk Maya 201486058MAYA_2014_0F
Autodesk Maya Entertainment Creation Suite Premium 201486093MYECSP_2014_0F
Autodesk Maya Entertainment Creation Suite Standard 201486092MYECS_2014_0F
Autodesk MotionBuilder 201486099MOBPRO_2014_0F
Autodesk Mudbox 201486100MBXPRO_2014_0F
Autodesk Navisworks Manage 201486166NAVMAN_2014_0F
Autodesk Navisworks Simulate 201486172NAVSIM_2014_0F
Autodesk Plant Design Suite Premium 201486108PDSPRM_2014_0F
Autodesk Plant Design Suite Standard 201486106PLTDSS_2014_0F
Autodesk Plant Design Suite Ultimate 201486107PDSADV_2014_0F
Autodesk Product Design Suite Premium 201486131PDSP_2014_0F
Autodesk Product Design Suite Standard 201486132PDSS_2014_0F
Autodesk Product Design Suite Ultimate 201486133PDSU_2014_0F
Autodesk Revit 201486075RVT_2014_0F
Autodesk Revit Architecture 201486076REVIT_2014_0F
Autodesk Revit LT 201486077RVTLT_2014_0F
Autodesk Revit MEP 201486078RVTMPB_2014_0F
Autodesk Revit Structure 201486079REVITST_2014_0F
Autodesk Robot Structural Analysis Professional 201486086RSAPRO_2014_0F
Autodesk Showcase 201486117SHOWCASE_2014_0F
Autodesk Showcase Professional 201486118SHOWPRO_2014_0F
Autodesk Simulation CFD 201486141SCFD_2014_0F
Autodesk Simulation CFD 2014 Advanced86142SCFDA_2014_0F
Autodesk Simulation CFD 2014 Connection for NX86144SCFDNX_2014_0F
Autodesk Simulation CFD 2014 Connection for Parasolid86145SCFDP_2014_0F
Autodesk Simulation CFD 2014 Connection for Pro/E86146SCPROE_2014_0F
Autodesk Simulation CFD 2014 Design Study Environment86147SCDSE_2014_0F
Autodesk Simulation CFD 2014 Motion86148SCFDM_2014_0F
Autodesk Simulation DFM 201486151SIMDFM_2014_0F
Autodesk Simulation Mechanical 201486115ASMES_2014_0F
Autodesk Simulation Moldflow Adviser Premium 201486153MFAM_2014_0F
Autodesk Simulation Moldflow Adviser Standard 201486154MFAD_2014_0F
Autodesk Simulation Moldflow Adviser Ultimate 201486152MFAA_2014_0F
Autodesk Simulation Moldflow Insight Premium 201486155MFIP_2014_0F
Autodesk Simulation Moldflow Insight Standard 201486157MFIB_2014_0F
Autodesk Simulation Moldflow Insight Ultimate 201486156MFIA_2014_0F
Autodesk Simulation Moldflow Synergy 201486158MFS_2014_0F
Autodesk Simulation Multiphysics 201486114ASPRO_2014_0F
Autodesk Softimage 201486102SFTIM_2014_0F
Autodesk Vault Collaboration 201486167VLTC_2014_0F
Autodesk Vault Collaboration AEC 201486168VTCAEC_2014_0F
Autodesk Vault Office 201486169PCOFFI_2014_0F
Autodesk Vault Professional 201486170VLTM_2014_0F
Autodesk Vault Workgroup 201486171VLTWG_2014_0F
mental ray Standalone 201486101MRSTND_2014_0F
T1 Enterprise Multi-flex 201486191T1MF_2014_0F
T1 Enterprise Multi-flex Prior Version 201486193T1MFPV_2014_0F

AutoDesk License Manager / FLEXNet Licensing

I’m not really a fan of this FLEXNet licensing stuff. Mainly because I’m certain I don’t have a complete understanding of it, however, it shouldn’t be so seemingly overly complicated. Why is software working against me?!?

Had a server crash (power + UPS failure) that runs a Network License Manager for AutoDesk 2014. Upon getting the server back up, I had one particular user unable to load AutoCAD 2014 due to error -4.132.0.

Looking closer at this error and doing some initial debugging in the log file for LMTools, I see that a license was issued for a user on 7/7/2014, which is not this user in question.

Long story short, after an hour of going back and forth in documentation, trying things, testing, reading, testing, and finally Googling I came across a nice post that simply said to backup the adskflexborrow file from C:\Documents and Settings\All Users\Application Data\FNPFLEXlm and start the FLEXNet License Server again.

Voila. User can run AutoCAD now without error.

Another note from a commenter that may be helpful; He notes:

We had a case where the client end of FlexLM thought it had borrowed a license when the server had lost that “borrow”. So we could not return it. Less of a problem but still wrong.
If you need to clear this case you can delete FlexLM’s record of the borrow on the client by deleting the keys in registry: HKEY_LOCAL_MACHINESOFTWAREFLEXlm License ManagerBorrow

Borrow a License in AutoDesk AutoCAD 2014

This is the method I use to borrow a license on a mobile computer for use when not on-network and the ability to reach the licensing server fails.


2014-07-03_084213

 
2014-07-03_084234
2014-07-03_084241
 

To Borrow a Network License from Command Line

  1. Launch a Terminal window.
  2. Execute the following command:
    lmutil lmborrow adskflex enddate [time]

    enddate is the date you will return the license, formatted as follows: dd-mmm-yyyy.
    time argument is optional, but is specified in 24-hour format (hh:mm).
    For example:
    lmutil lmborrow adskflex 14-oct-2012 [14:00]
    borrows a license until October 14, 2012 at 2:00 PM.

  3. Start AutoCAD for Mac.
  4. This borrows a license from the server.

Disable Pinch Zoom in Google Chrome

Pinch zoom, or what Google calls Pinch Scale, might be a nice feature for some, but it drives me absolutely nuts in Google Chrome on my Lenovo Yoga 2 Pro.

I disabled zoom gesture in my Windows 8 Mouse settings but Google Chrome decided to override this so I would still run into zooming occuring when I was using two-finger scrolling.  Absolutely annoying!

Disable Pinch Scale

  1. So to disable pinch zoom in Google Chrome, navigate to chrome://flags.
    chrome1
  2. Search for pinch (CTRL+F for find). Change from Automatic or Enabled to Disabled.

    chrome2
  3. Relaunch Chrome and Enjoy!