Question about Microsoft Windows Server Standard 2003 for PC

1 Answer

How can i make exe as a windows service without programming

Hi to all !
My question is, I have an exe which i have to run continuously on the server if i make it as a service i suppose my problem is going to solve.How to make an exe into windows service without writing any program.If i keep an exe some times it will close automatically.dats d problem.So pls help to this.

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 30 Answers

There are some solutions for your problem, everything has
positive and negative side. (Pro and contra)

1. Startup folder
Put your exe or bat file to the startup folder. The Windows will start automatically when the Windows is starting. You put the exe to the desktop, then copy to Start/Program/Startup folder.

Positive: Quickest setup
Negative: To stop your program, you have to start the taskmanager. (taskmgr) You have to start taskmanager if you want to check the status of your exe.

2. Make a Windows service
Serveral ways can do it. The Windows resource kit contains
two utilities with this programs you can do it.
(instrsrv, srvany)
Here is the appropriate link:
http://www.tacktech.com/display.cfm?ttid=197

You can do it with registry modifications.
Here is the instructons:
http://www.overclock.net/faqs/119474-how-run-program-service.html

Positive: You can control your program from mmc
Negative: A bit complicated

I suggest to use service methotd instrsrv program.
I hope this helps, and you like it. :)

Posted on Jan 10, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Getting this error spooler.exe


Spoolsv.exe is a program developed by Microsoft Corp. which is responsible in managing spooled fax or print tasks. Spooling lets the computer user to print in background without having to worry that his or her PC is being tied up. You can found this program at C:\Windows\System32.

Sep 06, 2011 | Microsoft Windows Server Standard 2003 for...

Tip

How to disable and re-enable hibernation on a computer that is running Windows


The Hiberfil.sys hidden system file is located in the root folder of the drive where the operating system is installed. The Windows Kernel Power Manager reserves this file when you install Microsoft Windows. The size of this file is approximately equal to the amount of random access memory (RAM) that is installed on the computer.
The computer uses the Hiberfil.sys file to store a copy of the system memory on the hard disk when the hybrid sleep setting is turned on. If this file is not present, the computer cannot hibernate.
Hibernation is made unavailable when you set the value of the Hibernate after setting to Never by using the Power Options item in Control Panel. To make hibernation unavailable, follow these steps:
Click Start, and then type cmd in the Start Search box.
In the search results list, right-click Command Prompt, and then click Run as Administrator.
When you are prompted by User Account Control, click Continue.
At the command prompt, type powercfg.exe /hibernate off, and then press ENTER.
Type exit, and then press ENTER.
To make hibernation available, follow these steps:
Click Start, and then type cmd in the Start Search box.
In the search results list, right-click Command Prompt, and then click Run as Administrator.
When you are prompted by User Account Control, click Continue.
At the command prompt, type powercfg.exe /hibernate on, and then press ENTER.
Type exit, and then press ENTER to close the Command Prompt window.
--------------------------------------------------------------------------------
APPLIES TO
Windows Vista Business
Windows Vista Enterprise
Windows Vista Home Basic
Windows Vista Home Premium
Windows Vista Starter
Windows Vista Ultimate
Windows Server 2008 Datacenter without Hyper-V
Windows Server 2008 Enterprise without Hyper-V
Windows Server 2008 for Itanium-Based Systems
Windows Server 2008 Standard without Hyper-V
Windows Server 2008 Datacenter
Windows Server 2008 Enterprise
Windows Server 2008 Standard
Windows Web Server 2008
Windows Server 2008 R2 Datacenter
Windows Server 2008 R2 Enterprise
Windows Server 2008 R2 Standard
Windows 7 Enterprise
Windows 7 Enterprise N
Windows 7 Professional
Windows 7 Professional N
Windows 7 Ultimate
Windows 7 Ultimate N
http://support.microsoft.com/kb/920730

on Nov 19, 2013 | Microsoft Windows Vista Home Premium with...

4 Answers

Hay Bahratt, I have uninstalled the 3 SQL programs in the control panel a few times with no effect on the issue. I didn't try moving directory C:\Program Files\Microsoft SQL Server\MSSQL to another...


If you have removed it from control panel, its done. You just have to clean up any left over registry entries using CCleaner and then try installing again
http://www.ccleaner.com/download
You may also want to check out this microsoft link if it doesn;t work
http://office.microsoft.com/en-us/help/HP011128601033.aspx

Jan 10, 2010 | Operating Systems

1 Answer

I would like to know why I continually lose connection while playing YoVille game on Facebook? I'm usually in the middle of a game, and it says I need to refresh, which causes me to loose coins. I asked...


Hi,

The free file information forum can help you find out if csrcs.exe is a virus, trojan, spyware, adware which you can remove, or a file belonging to a Windows system or an application you can trust.
csrcs.exe file information
The process belongs to the software CSRCS.EXE by unknown.
Description: File csrcs.exe is located in the folder C:WindowsSystem32.
Program has no file description. The program is not visible. The file is located in the Windows folder, but it is not a Windows core file. HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunOnce, HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrentVersionRunonce).
It is not a Windows system file. Program listens for or sends data on open ports to LAN or Internet. csrcs.exe is able to hide itself, monitor applications. Therefore the technical security rating is 100% dangerous.
Important: Some malware camouflage themselves as csrcs.exe, particularly if they are located in c:windows or c:windowssystem32 folder. Thus check the csrcs.exe process on your pc whether it is pest. We recommend Security Task Manager:
http://www.neuber.com/taskmanager/index.html?ref=file.net
for verifying your computer's security.
If this information is useful, please mark as helpful. Thanks

Oct 03, 2009 | Microsoft Windows XP Home Edition

2 Answers

Everytime i open my computer, ah pop-up windows say's WINDOWS CANNOT FIND SCVHOST.EXE


Hi,

First, I'll let you know what's going on, then I'm going to post from Microsoft, what svchost.exe does, and how to find out where the problem is. I can help you further if you need it.

Svchost.exe is a program in WIndows XP Pro that will start services in your computer during startup. It sounds like you have deleted a program and "service host" is still looking for it to open on startup. This can happen if the program was removed without using the correct removal procedures. It is still listed in the registry and your computer is still trying to access it. DO NOT edit your registry unless you know what you are doing. You could create a catastrophic failure of Windows. There are programs that will remove registry entries if those entries are no longer valod. You can fing a free program for this function at web sites like www.nonags.com

Following is information from the Microsoft web site:

The Svchost.exe file is located in the %SystemRoot%\System32 folder. At startup, Svchost.exe checks the services part of the registry to construct a list of services that it must load. Multiple instances of Svchost.exe can run at the same time. Each Svchost.exe session can contain a grouping of services. Therefore, separate services can run, depending on how and where Svchost.exe is started. This grouping of services allows for better control and easier debugging.

Svchost.exe groups are identified in the following registry key: HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\SvchostEach value under this key represents a separate Svchost group and appears as a separate instance when you are viewing active processes. Each value is a REG_MULTI_SZ value and contains the services that run under that Svchost group. Each Svchost group can contain one or more service names that are extracted from the following registry key, whose Parameters key contains a ServiceDLL value: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Service To view the list of services that are running in Svchost:
  1. Click Start on the Windows taskbar, and then click Run.
  2. In the Open box, type CMD, and then press ENTER.
  3. Type Tasklist /SVC, and then press ENTER.
Tasklist displays a list of active processes. The /SVC switch shows the list of active services in each process. For more information about a process, type the following command, and then press ENTER: Tasklist /FI "PID eq processID" (with the quotation marks) The following example of Tasklist output shows two instances of Svchost.exe that are running. Image Name PID Services
========================================================================
System Process 0 N/A
System 8 N/A
Smss.exe 132 N/A
Csrss.exe 160 N/A
Winlogon.exe 180 N/A
Services.exe 208 AppMgmt,Browser,Dhcp,Dmserver,Dnscache,
Eventlog,LanmanServer,LanmanWorkstation,
LmHosts,Messenger,PlugPlay,ProtectedStorage,
Seclogon,TrkWks,W32Time,Wmi
Lsass.exe 220 Netlogon,PolicyAgent,SamSs
Svchost.exe 404 RpcSs
Spoolsv.exe 452 Spooler
Cisvc.exe 544 Cisvc
Svchost.exe 556 EventSystem,Netman,NtmsSvc,RasMan,
SENS,TapiSrv
Regsvc.exe 580 RemoteRegistry
Mstask.exe 596 Schedule
Snmp.exe 660 SNMP
Winmgmt.exe 728 WinMgmt
Explorer.exe 812 N/A
Cmd.exe 1300 N/A
Tasklist.exe 1144 N/A
The registry setting for the two groupings for this example are as follows: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Svchost:
Netsvcs: Reg_Multi_SZ: EventSystem Ias Iprip Irmon Netman Nwsapagent Rasauto Rasman Remoteaccess SENS Sharedaccess Tapisrv Ntmssvc
RApcss :Reg_Multi_SZ: RpcSs

Jun 18, 2009 | Microsoft Windows XP Professional for PC

1 Answer

My antivirus wont run and i cant install any other antivirus


Have you tried to start the system in safe mode? F6 I think, then start in safe mode with network. then try to start your norton AV again and try to do a liveupdate, then scan your system and see if it works.. otherwise just uninstall norton, then reinstall it and run live update again and scan your system. My thought is that you have a serious virus on your sysstem.. best thing I can say is WHEN you get your antivirus to work again make a habit of scanning every file you download and from whatever site you dl from.. do NOT believe it when a window pops up and says you need to update your antivirus software.. ONLY use the liveupdate. Another POSSIBLE fix is to use the RESTORE option and try to restore to a point BEFORE you started noticing problems with your antivirus

May 23, 2009 | Microsoft Windows XP Professional With...

1 Answer

Zone Alarm will not start up when I turn on my computer?


Hi,
You can ADD the "Zone alarm" executable to your windows startup.
This can be done in 1 simple way.

1. Locate the "Zonealarm.exe" in your "Program files" folder. Usually your Program Files folder will be here "C:\Program Files". Just run a search for "Zonealarm.exe" inside this folder.

2. After locating the "Zonealarm.exe" file, right-click on that file. And select "Create Shortcut".

3. After that you'll find a "Zonealarm.exe" Shortcut file or icon inside the same folder.

4. Just COPY or CUT the shortcut file.

5. Now Right click on the "START" button.

6. Select "Open all users".

7. This will open a windows explorer window. Locate "Programs" folder and Enter it.

8. Inside you should locate "Startup" folder and enter it.

9. Once u ar inside the "Startup" folder, paste the already copied "Zonealarm.exe" shortcut file.

10. That's it. Now try re-starting the system.

Thanks

Dec 18, 2008 | Microsoft Windows XP Home Edition

1 Answer

C:\windows\services.exe


It is a Services Control Manager, which is responsible for running, ending, and interacting with system services.

Notice that: C:\windows\system32\services.exe is normal, but with C:\windows\services.exe is not normal and therefore might be a trojan.

This file should be located in %windir%/system32 (ex. C:\Windows\System32) if not or is found outside this system folder it could be a trojan.

Try deleting it with Security Task Manager then delete the directory and the entries in the registry : HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run & HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run.

=))

Aug 30, 2008 | Microsoft Windows Server Standard 2003 for...

2 Answers

UST Scandal.avi.exe


1. Start Notepad
2. Copy the following text. (note: Everything in between the square brackets should be in one line)

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"



3. Save the file with a name (anything) like DisableAutoRun.reg (The extension .reg is the important part)
4. Double Click your newly created registry file. Choose yes or continue to the warning that will appear.


But what if you are already infected with the virus? There are several programs on the internet that you can download. Here are some of those programs that can be helpful:

Taga Lipa Are Remover (or Noob Killer) by Leerz (<--click to download)

else


first download taskiller in http://www.rsdsoft.com/task_killer/index... and install it to
your computer because you cant use taskmanager to terminate the virus(the virus automatically close taskmanager).

-run taskiller and left click it on the system tray(the one with a skull icon)

-click processes

-to close the virus, select process and click yes to the question

(process to close)
1.killer.exe
2.lsass.exe
3.smss.exe

note: close only file that have the same icon of Funny UST Scandal.avi.exe


CMD STEPS
1-now, click "start" then "run"
2-type "cmd" without quotes
3-type "cd\" without quotes
4-type "attrib -h -s smss.exe" without quotes
5-type "attrib -h -s autorun.inf" without quotes
6-type "start c:" without quotes(a new window will open)
7-select smss.exe,autorun.inf,Funny UST Scandal.avi.exe and delete it

-if theres any drive or a partition type "d:" in command prompt without quotes
"d" is the drive letter then repeat the CMD STEPS number 4-7 above.......

-now type this on the command prompt "cd windows" without quotes(na naman!)
-type "attrib -h -s smss.exe" without quotes(uli)
-type "start c:\windows" without quotes(hay naku!)
-delete the file smss.exe
-now, goto c:\documents and settings\all users\startmenu\programs\startup
-delete lsass.exe

-click "start" then "run"
-type "regedit" without quotes then delete the registry entries above....

-thats all


(* from support forume)



Nov 22, 2007 | Operating Systems

3 Answers

Virus from ym


try using bitdefender anti virus. it removes most of the viruses with no strings attached

Nov 21, 2007 | Microsoft Windows XP Professional for PC

Not finding what you are looking for?
Microsoft Windows Server Standard 2003 for PC Logo

Related Topics:

3,497 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Operating Systems Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Joseph Coppeto
Joseph Coppeto

Level 3 Expert

165 Answers

M Beutner
M Beutner

Level 2 Expert

68 Answers

Are you a Microsoft Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...