Manual to Run SIRAM As a Windows Service

Total Page:16

File Type:pdf, Size:1020Kb

Manual to Run SIRAM As a Windows Service Manual to run SIRAM as a Windows Service Manual to run SIRAM as a Windows Service Page 1 Manual to run SIRAM as a Windows Service ®Copyright 2020 Innova Control Systems, S.L. All rights reserved. This publication is property of Innova Control Systems, S.L. therefore, its total or partial reproduction in any forms is expressly prohibited, and its use for purposes other than those specified in this publication, without an express written authorization from the authorized personnel of Innova Control Systems, S.L. Innova Control Systems, S.L. reserves the right to modify the content of this document at any time without prior notice. Siram© is a trademark that belongs to Innova Vision Systems, S.L. March, 4th Edition Page 2 Manual to run SIRAM as a Windows Service INDEX 1. INTRODUCTION .......................................................................................................................... 4 2. INSTALLATION OF THE TOOL FOR THE CREATION OF THE SERVICE ........................................... 5 3. CREATION OF THE WINDOWS SERVICE ...................................................................................... 6 4. SERVICE CHECK AND MANAGEMENT ......................................................................................... 9 5. DELETE THE SERVICE ................................................................................................................ 10 6. COMPATIBILITY MODE IN WINDOWS 10 AND WINDOWS SERVER ......................................... 11 6.1. Posible problems .............................................................................................................. 12 Page 3 Manual to run SIRAM as a Windows Service 1. INTRODUCTION This document details the steps to follow to create a service in a Windows operating system to launch the OCR without the need to log in as a user on a PC or server. In the following sections you can find information on how to download the tool to create the service, as well as configure it and possible problems that may occur. Page 4 Manual to run SIRAM as a Windows Service 2. INSTALLATION OF THE TOOL FOR THE CREATION OF THE SERVICE To start the Siram control system as a service we can use different tools. Here is how to download and install a simple to use tool that will allow us to create the service in an easy way. The tool, NSSM, can be downloaded directly from its website (https://nssm.cc/download). This utility offers free use for any purpose. Once the download is complete, the file must be unzipped and the different versions of the operating system in which the tool is available appear. Select the Windows architecture folder corresponding to the computer and copy the file inside C:\Windows\System32. The version of Windows that is compatible with it is specified on the download page of the tool. Page 5 Manual to run SIRAM as a Windows Service 3. CREATION OF THE WINDOWS SERVICE To create the service it is necessary to start the NSSM tool from the Command Prompt. For this we will look for it in the Windows menu and by right-clicking the icon we will run it as administrator. Once the terminal is opened, the command to create a service is as follows: nssm install service_name When executing the command, a window opens that allows us to configure the service. The first step is to select the application that the service is going to start, in this case Siram1.exe. Selecting the executable sets the default home directory. It is not possible to create service for Page 6 Manual to run SIRAM as a Windows Service each of the Siram applications since the simultaneous start of all the applications can cause errors. The second step is to configure the way the service starts. What we want is for it to start when you turn on the computer, so the service should not be started by any specific user and should allow interaction from the desktop. The file in which we want to keep the operation log can be included in the configuration to see errors or possible failures. To do this, select the file in the "I/O" tab of the configuration. Page 7 Manual to run SIRAM as a Windows Service To finish creating the service click on “Install service”. If the installation was successful, the following message should appear: Page 8 Manual to run SIRAM as a Windows Service 4. SERVICE CHECK AND MANAGEMENT Once the service is created, it is included along with the rest of Windows services. To do the check, you need to open the Windows service manager. To do this, in the Windows menu we must search for "Run" and write: "services.msc" A window with all the services will be shown, where we must search for the created service. By clicking on the service with the right button we can see the properties of the service and we can also start, pause and stop the service. If you want to make any changes to the Siram application, either its configuration or any of its executables, the service must be previously stopped. Once the service has started we can see its status in the Task Manager Page 9 Manual to run SIRAM as a Windows Service 5. DELETE THE SERVICE If we want to remove the service that has been created, the first step is to stop the service in the Windows service manager (described above). Once stopped, we must open a terminal (Command Prompt) as administrator (see previous steps regarding starting the command prompt) and type: nssm remove service_name A window will appear to confirm the deletion of the service. And later the operation is confirmed: Page 10 Manual to run SIRAM as a Windows Service 6. COMPATIBILITY MODE IN WINDOWS 10 AND WINDOWS SERVER The configuration of Siram as a service when starting the computer requires not putting any type of compatibility to the applications, to the contrary if they want to start manually. Therefore, you need to disable compatibility mode and run as administrator of all applications that Siram OCR will launch as a service. To see an example, when you right-click on an Siram software executable and click on properties, the following should appear in the compatibility tab: Page 11 Manual to run SIRAM as a Windows Service 6.1. Posible problems Below are some of the errors experienced and the proposed solution for each case: Some apps are left unbooted (or continually restarted). The problem is due to the fact that Windows by default has an amount of memory reserved for the processes. If a high number of applications are running on the same computer (for example, more than 10 vials), this problem may occur. To solve it, it is necessary to access the Windows registry (regedit.exe) and go to the field HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems, and modify within the Windows key: Initial value (varies depending on SO) Recommended value SharedSection=1024, 20480,768 SharedSection=1024, 20480,20480 For more information on this problem, see: https://wrapper.tanukisoftware.com/doc/english/howto-solving-dheap-problems.html https://support.microsoft.com/es-es/help/947246/you-may-receive-an-out-of-memory- error-message-because-of-the-desktop Page 12 Manual to run SIRAM as a Windows Service Innova Systems Group C/ Joaquim Mir 55 08100 Mollet del Vallès Barcelona (SPAIN) Tel. +34 93 5797238 Fax. +34 935797235 www.innovagroupbcn.com [email protected] Page 13 .
Recommended publications
  • What Is a Service? a Windows Service Is an Application That Usually
    What is a service? A Windows service is an application that usually provides a basic Windows function such as manage system memory, make and monitor network connections, play sound, provide a file system, control security and authentication, interact with the user and many more. They run in the background and have has no user interface. Services are always running, whether they are needed or not. Think about setting these to Manual • Bluetooth Services (2): If you don't connect Bluetooth devices to your computer • Connected End User Experience and Telemetry: Microsoft Keyboard Logger • Diagnostic Policy Service: If you don't depend on Windows diagnostics • Distributed Link Tracking Client: When was the last time you created a symbolic link to a shared file? • dmwappushsvc: Transmits keyboard logger data to Microsoft. • Downloaded Maps Manager: If you use any other map service than the Maps app. • Fax: Not needed for printer fax machines, or if you don't have a fax. • IP Helper: IPV6 to IPV4 tools • Print Spooler: If you don't have a printer • Remote Access Connection Manager: If you don't use a VPN or access your home system remotely • TCP/IP NetBIOS Helper: If you are not in a workgroup network • Touch Keyboard and Handwriting Panel Service: If you don't need the screen touch keyboard or the handwriting features • Windows Media Player Network Sharing Service: Shares music across the home network • Windows Defender (4): If you use another antivirus program • Windows Image Acquisition: If you don't have a scanner • Windows Update: If you want to control the update process.
    [Show full text]
  • Attacker Antics Illustrations of Ingenuity
    ATTACKER ANTICS ILLUSTRATIONS OF INGENUITY Bart Inglot and Vincent Wong FIRST CONFERENCE 2018 2 Bart Inglot ◆ Principal Consultant at Mandiant ◆ Incident Responder ◆ Rock Climber ◆ Globetrotter ▶ From Poland but live in Singapore ▶ Spent 1 year in Brazil and 8 years in the UK ▶ Learning French… poor effort! ◆ Twitter: @bartinglot ©2018 FireEye | Private & Confidential 3 Vincent Wong ◆ Principal Consultant at Mandiant ◆ Incident Responder ◆ Baby Sitter ◆ 3 years in Singapore ◆ Grew up in Australia ©2018 FireEye | Private & Confidential 4 Disclosure Statement “ Case studies and examples are drawn from our experiences and activities working for a variety of customers, and do not represent our work for any one customer or set of customers. In many cases, facts have been changed to obscure the identity of our customers and individuals associated with our customers. ” ©2018 FireEye | Private & Confidential 5 Today’s Tales 1. AV Server Gone Bad 2. Stealing Secrets From An Air-Gapped Network 3. A Backdoor That Uses DNS for C2 4. Hidden Comment That Can Haunt You 5. A Little Known Persistence Technique 6. Securing Corporate Email is Tricky 7. Hiding in Plain Sight 8. Rewriting Import Table 9. Dastardly Diabolical Evil (aka DDE) ©2018 FireEye | Private & Confidential 6 AV SERVER GONE BAD Cobalt Strike, PowerShell & McAfee ePO (1/9) 7 AV Server Gone Bad – Background ◆ Attackers used Cobalt Strike (along with other malware) ◆ Easily recognisable IOCs when recorded by Windows Event Logs ▶ Random service name – also seen with Metasploit ▶ Base64-encoded script, “%COMSPEC%” and “powershell.exe” ▶ Decoding the script yields additional PowerShell script with a base64-encoded GZIP stream that in turn contained a base64-encoded Cobalt Strike “Beacon” payload.
    [Show full text]
  • Guide to Hardening Windows 10 Technical Guide
    NOVEMBER 2020 Guide to Hardening Windows 10 For Administrators, Developers and Office Workers TABLE OF CONTENTS Introduction .......................................................................................................................... 4 Prerequisites ............................................................................................................................ 4 User roles ................................................................................................................................. 4 EFI (BIOS) Configuration ...................................................................................................... 5 To be enabled: ......................................................................................................................... 5 To be disabled: ......................................................................................................................... 5 Windows Defender Firewall .................................................................................................. 6 Enable logging of dropped packets ............................................................................................. 6 Disable enforcement of local rules and disable notifications .......................................................... 7 Block outbound connections by default ....................................................................................... 8 Secure potentially vulnerable protocols ......................................................................................
    [Show full text]
  • Creating a Windows Service That Uses Microsoft Dynamics Gp Econnect to Integrate Data
    INNOVATE Microsoft Dynamics™ GP Creating a Windows® service that uses Microsoft Dynamics GP eConnect to integrate data Article Create a Windows Service that uses the .NET FileSystemWatcher class to monitor a directory for file operations Date: April, 2008 Table of Contents Introduction ................................................................................................ 3 Overview ..................................................................................................... 3 Start a new application in Visual Basic .NET ................................................ 3 Add References needed by the new application .......................................... 3 Add code to the project ............................................................................... 4 Add Imports statements and set the Service Name .................................................................. 4 Declare a FileSystemWatcher object and add code to the OnStart event ..................................... 4 Add code to the OnStop event .............................................................................................. 5 Add a handler for the xmlWatcher.Created event ..................................................................... 5 Add and configure an installer for the service ............................................. 5 Build, install and test the service ................................................................ 6 2 CREATING A WINDOWS SERVICE THAT USES MICROSOFT DYNAMICS GP ECONNECT TO INTEGRATE DATA Introduction
    [Show full text]
  • Docker Windows Task Scheduler
    Docker Windows Task Scheduler Genealogical Scarface glissading, his karyotype outgone inflicts overflowingly. Rudolph is accessorial and suckers languorously as sociologistic Engelbart bridled sonorously and systematises sigmoidally. Which Cecil merchandises so unbelievably that Cole comedowns her suavity? Simple task runner that runs pending tasks in Redis when Docker container. With Docker Content Trust, see will soon. Windows Tip Run applications in extra background using Task. Cronicle is a multi-server task scheduler and runner with a web based front-end UI It handles both scheduled repeating and on-demand jobs targeting any. Django project that you would only fetch of windows task directory and how we may seem. Docker schedulers and docker compose utility program by learning service on a scheduled time, operators and manage your already interact with. You get a byte array elements followed by the target system privileges, manage such data that? Machine learning service Creatio Academy. JSON list containing all my the jobs. As you note have noticed, development, thank deity for this magazine article. Docker-crontab A docker job scheduler aka crontab for. Careful with your terminology. Sometimes you and docker schedulers for task failed job gets silently redirected to get our task. Here you do want to docker swarm, task scheduler or scheduled background tasks in that. Url into this script in one easy to this was already existing cluster created, it retry a little effort. Works pretty stark deviation from your code is followed by searching for a process so how to be executed automatically set. Now docker for windows service container in most amateur players play to pass as.
    [Show full text]
  • Automated Malware Analysis Report for Spoolsv.Exe
    ID: 160124 Sample Name: spoolsv.exe Cookbook: default.jbs Time: 10:37:44 Date: 05/08/2019 Version: 26.0.0 Aquamarine Table of Contents Table of Contents 2 Analysis Report spoolsv.exe 4 Overview 4 General Information 4 Detection 4 Confidence 4 Classification 5 Analysis Advice 5 Mitre Att&ck Matrix 6 Signature Overview 6 Spreading: 6 System Summary: 6 Data Obfuscation: 7 Boot Survival: 7 Hooking and other Techniques for Hiding and Protection: 7 Malware Analysis System Evasion: 7 Anti Debugging: 7 HIPS / PFW / Operating System Protection Evasion: 7 Language, Device and Operating System Detection: 7 Remote Access Functionality: 7 Behavior Graph 7 Simulations 8 Behavior and APIs 8 Antivirus and Machine Learning Detection 8 Initial Sample 8 Dropped Files 8 Unpacked PE Files 8 Domains 8 URLs 9 Yara Overview 9 Initial Sample 9 PCAP (Network Traffic) 9 Dropped Files 9 Memory Dumps 9 Unpacked PEs 9 Joe Sandbox View / Context 9 IPs 9 Domains 9 ASN 9 JA3 Fingerprints 9 Dropped Files 9 Screenshots 9 Thumbnails 9 Startup 10 Created / dropped Files 10 Domains and IPs 11 Contacted Domains 11 Contacted IPs 11 Static File Info 11 General 11 File Icon 11 Static PE Info 12 General 12 Entrypoint Preview 12 Rich Headers 13 Data Directories 13 Sections 13 Resources 14 Imports 14 Copyright Joe Security LLC 2019 Page 2 of 22 Exports 15 Version Infos 18 Possible Origin 18 Network Behavior 19 Code Manipulations 19 Statistics 19 Behavior 19 System Behavior 19 Analysis Process: cmd.exe PID: 2748 Parent PID: 480 19 General 19 File Activities 20 File Created 20 Analysis
    [Show full text]
  • How to Restart Premisys Services
    PremiSys Services Troubleshooting Introduction There are two services which comprise the PremiSys application server components. These services are: • IDenticard Windows Service • IDenticard Scheduling Service Under normal conditions, both of these services are configured to start automatically when the server starts. Both are also dependent on connection to the PremiSys databases which are hosted by a Microsoft SQL Server. The instance of SQL Server may or may not reside on the same server as the PremiSys application server, depending on the way the system has been designed. IDenticard Windows Service The IDenticard Windows Service is the primary server component of the PremiSys software. It handles the server side code for client logins, licensing, panel communications, transaction processing, etc. When this service is stopped, any running instance of the PremiSys client will receive a message box that indicates “The connection to the {server name} license server has been lost”. When the user acknowledges this message box, the client application will close. If a user attempts to restart the client application while the IDenticard Windows Service is stopped on the Application Server, they will receive a message box which indicates “AddIn Architecture Failed to start – Services unavailable…”. IDenticard Scheduling Service The IDenticard Scheduling Service runs various tasks within a PremiSys system. This includes, but is not limited to user- scheduled tasks for things like backups, transaction archives, reports and door schedules. When this service is stopped, any scheduled tasks will not run on their scheduled execution time. Starting Services Step-By-Step 1. Click on the “Windows Start Menu” Button on the lower-right corner of the Windows Desktop 2.
    [Show full text]
  • Windows Intruder Detection Checklist
    Windows Intruder Detection Checklist http://www.cert.org/tech_tips/test.html CERT® Coordination Center and AusCERT Windows Intruder Detection Checklist This document is being published jointly by the CERT Coordination Center and AusCERT (Australian Computer Emergency Response Team). printable version A. Introduction B. General Advice Pertaining to Intrusion Detection C. Look for Signs that Your System may have been Compromised 1. A Word on Rootkits 2. Examine Log Files 3. Check for Odd User Accounts and Groups 4. Check All Groups for Unexpected User Membership 5. Look for Unauthorized User Rights 6. Check for Unauthorized Applications Starting Automatically 7. Check Your System Binaries for Alterations 8. Check Your Network Configurations for Unauthorized Entries 9. Check for Unauthorized Shares 10. Check for Any Jobs Scheduled to Run 11. Check for Unauthorized Processes 12. Look Throughout the System for Unusual or Hidden Files 13. Check for Altered Permissions on Files or Registry Keys 14. Check for Changes in User or Computer Policies 15. Ensure the System has not been Joined to a Different Domain 16. Audit for Intrusion Detection 17. Additional Information D. Consider Running Intrusion Detection Systems If Possible 1. Freeware/shareware Intrusion Detection Systems 2. Commercial Intrusion Detection Systems E. Review Other AusCERT and CERT Documents 1. Steps for Recovering from a Windows NT Compromise 2. Windows NT Configuration Guidelines 3. NIST Checklists F. Document Revision History A. Introduction This document outlines suggested steps for determining whether your Windows system has been compromised. System administrators can use this information to look for several types of break-ins. We also encourage you to review all sections of this document and modify your systems to address potential weaknesses.
    [Show full text]
  • Security and Compliance
    Security and Compliance Robert Nottoli | Principal Technology Specialist | Microsoft Corporation [email protected] DISCLAIMER FOR DOCUMENTATION REGARDING PRE-RELEASED SOFTWARE This document supports a preliminary release of a software product that may be changed substantially prior to final commercial release, including URL and other Internet Web sites referenced, and is the confidential and proprietary information of Microsoft Corporation. The entire risk of the use or the results from the use of this document remains with the user. The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. Therefore, MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
    [Show full text]
  • Installation and Setup Guide for Server
    FUJITSU Software Symfoware Server V12.1.0 Installation and Setup Guide for Server Windows B1WS-1136-03ENZ0(00) December 2014 Preface Purpose of This Document The Symfoware Server database system extends the PostgreSQL features and runs on the Windows platform. This document describes how to install and setup "Symfoware Server". Intended Readers This document is intended for those who install and operate Symfoware Server. Readers of this document are assumed to have general knowledge of: - PostgreSQL - SQL - Windows Structure of This Document This document is structured as follows: Chapter 1 Overview of Installation Describes the installation types and procedures Chapter 2 Operating Environment Describes the operating environment required to use Symfoware Server Chapter 3 Installation Describes how to perform an new installation of Symfoware Server Chapter 4 Setup Describes the setup to be performed after installation Chapter 5 Uninstallation Describes how to uninstall Symfoware Server Appendix A Installation in Silent Mode Provides specifications for installation in silent mode Appendix B Symfoware Server Migration Procedures Describes how to migrate Symfoware Server from an old version/level. Appendix C Using WebAdmin After an Upgrade Describes the required operations for using WebAdmin after an upgrade. Appendix D Recommended WebAdmin Environments Describes the recommended WebAdmin environment. Appendix E Setting Up and Removing WebAdmin Describes how to set up and remove WebAdmin Appendix F Configuring Parameters Describes Symfoware
    [Show full text]
  • Conversion Server User Guide
    www.AutoDWG.com Thank you for using AutoDWG Conversion Server Software AutoDWG Conversion Server With AutoDWG Conversion Server, companies can convert dwg to pdf, dwg to image automatically at high speed in a centrally-managed server. Users upload or drop dwg files into a watched folder, the drawing will be convert into pdf, dwf or image automatcially at once, Users can set up different folders in different output policy to specify output file type, and others setting. Features • Windows Service Program, no AutoCAD required in the server. • Supports dwg to pdf, dwg to jpg, dwg to bmp, dwg to gif, dwg to bmp, dwg to png conversion. • Supports AutoCAD drawing format from R2.5 to the latest version R2008. Email us [email protected] for more information and pricing. Download Free Trial Quick Start: • Install the software, register the DLL files and the acs.exe service o RUN: Regsvr32 “Full path\DWG2PDFX.dll” o RUN: Regsvr32 “Full path\DWG2imageX.dll” o RUN: Regsvr32 “Full path\mfc42.dll” o Set up the PS path, copy the whole folder of “PS” to C:\windows\system32\PS o RUN: acs.exe /service o Start the service from the [Windows control panel\Administrative tools\Services] • Launch AcsCtrl.exe to set up profiles of the watched folders and output file formats o Click menu button “File/New Profile” to create new watched folder o Right click on the existing listed input folder, click “add a profile” to create more out put file formats or copy files without convert • Click on the button “Start Server” to start the conversion service Æ Go to Trouble Shooting and learn more on the installation www.AutoDWG.com User’s manual The AutoDWG Conversion server is enterprise class software, and recommended to installed with a server, the requirements to the server listed as below: Hard ware requirements, CPU: PIII 1GHz or greater, a modern processor is recommended, since the conversion calculation will be kind of heavy loading to the CPU.
    [Show full text]
  • Event Logs What Are Event Logs?
    Event Logs What are event logs? Windows keeps track of almost everything that happens in the operating system Microsoft defines an event as "any significant occurrence in the system or in a program that requires users to be notified or an entry added to a log." Examples of events are log ons, log offs, connections to wireless access points, improper shut downs of the computer, installations of programs, etc Windows Event Logs ● What is actually recorded in the event log is dependent on the applications involved and the system settings ● Security event logging is disabled by default on most freshly installed windows sysstems. ● If they exists, event logs cad be incredibly useful, they would provided both local and network context that is difficult to replicate with other artifacts. Event Log Analysis ● What Happened?: Event ID ->Event Category->Description ● Date/Time?: Time Stamp ● Users involved?: User Account->Description ● Systems Involved?:Hostname->IP Address ● Resources Accessed?: Files->Folders->Printers->Services Event Analysis Cont. ● What Happened? ○ Even logs are designed to provide very specific information about activities that occurred on the system. ○ Items like Event IDs and Event Categories help to find relevant events ○ Event Description can provide more information of its nature ● Date/Time? ○ Timestamps are key in event logs. ○ The provide a temporal context of the events ○ Can also help narrow an investigators focus. Event Log Analysis Cont. ● Users Involved? ○ Everything done within Windows is done using the context of an account ○ We can: ■ Identify references to specific users ■ Information about the Windows OS activities via special accounts like System and NetworkService.
    [Show full text]