• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    Run EXE as a service

    September 27th, 2007

    What do you do if you want an *.exe to run as a service?

    You need two files from the “Windows Server 2003 Resource Kit Tools”. Instrsrv.exe and Srvany.exe.
    Run this command:

    c:\reskit\INSTSRV.EXE “Your service name” c:\reskit\SRVANY.EXE
    Now the service “Your service name” exsists on the server.

    You now need to add the actual exe to be run by the service.
    This is done in Regedit.
    Navigate to this registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\”your service name”.Add Key and name it Parameters.

    In this Add Value and type EXE information.
    Value Name: Application
    Data Type : REG_SZ
    String:c:\your.exe

    Links:
    Windows Server 2003 Resource Kit Tools


    Create Restart, shutdown and lock screen shortcut

    September 17th, 2007

    Create shortcuts with this command in it:

    Lock screen:
    rundll32.exe user32.dll,LockWorkStation

    Restart:
    shutdown -r -t 01

    Shutdown:
    shutdown -s -t 01


    Remove Balloon Tips

    September 7th, 2007

    Every time you print, a notification is shown above the clock.

    There are different ways to remove it.

    In Active Directory Group Policy:  “Administrative Templates” –> “Start menu and Taskbar” –> “Remove Balloon Tips on start Menu items”.

    On a standalone XP click “start” –> “run”. Type: “gpedit.msc”.