LS-Tools Freeware Collection

LS-Tools is a small but growing collection of freeware tools for NT. It contains some nice command line based utilities that may help you in your everday work. Most of this tools were written for our own needs or interests. Some are more exciting and some a not that interesting. However, they are all free and you can download them the end of this page. The following is a short overview:

ln.exe

Creates a hardlink on a NTFS drive (Yes, it's true - Hardlinks are possible on NT! :-)
Using hardlinks the same file can be present at different locations in the directory tree.

ln 1.1 (LSTools 1.5) - create hardlings on NTFS volumes
Freeware. Copyright (c) 1997-2001 LoSOFT Softwaretechnik
Newest Version at http://www.losoft.de/

USAGE: ln FILE LINK
    FILE   - Name of existing file (link destination)
    LINK   - Name of link to create. If a file of this name
             already exists, it will be overwritten!

    Note: NTFS supports hardlinks to files only.

Down.exe

Using this program you can logoff, shutdown, reboot, poweroff, suspend or hibernate your own or a remote computer.
New: V2.0 allows poweroff, suspend and hibernate also on a remote machine.
New: V2.1 has some new options and works also if startet from task scheduler.

A short overview is also available.

Down 2.1 (LSTools 1.5) - shutdown, reboot, hibernate or logoff a computer
Freeware. Copyright (c) 1997-2001 LoSOFT Softwaretechnik. http://www.losoft.de/

USAGE: down [\\COMPUTER [/C | /I] ] [/R | /L | /P | /S | /H | /A ]
            [/Q] [/F] [/U:Username,Password] [Time] [Message]
    \\COMPUTER   - name of machine to shutdown. Default is local machine.
    /C[opy]      - overrides existing version of down.exe on machine
    /I[nstall]   - just do a /Copy without shutting down machine
    /R[eboot]    - reboot computer
    /L[ogoff]    - logoff current user (local machine only)
    /P[ower]     - power off computer (only APM enabled systems)
    /S[uspend]   - suspend computer (only Win2k with ACPI)
    /H[ibernate] - go into hibernation (only Win2k)
    /A[bort]     - abort pending shutdown or reboot operation
    /Q[uiet]     - do not ask for confirmation
    /F[orce]     - force applications to close
    /U[ser]:     - login with this account/password
    Time         - number of seconds to proceed (only shutdown or reboot)
    Message      - message to display (only shutdown or reboot)

Note: NT does not support the /P /S /H options on a remote machine. To come
      around this, down.exe copies itself to \\COMPUTER\Admin$\System32 and
      is then started as a service. You need Admin privileges for this.

APM.exe

Very simple program to display batterie status and hibernate/suspend the computer (Windows 2000).
New: V1.5 prints also battery remaining time, if provided by the hardware

APM 1.5 (LSTools 1.5) - power management from the command line
Freeware. Copyright (c) 1997-2001 LoSOFT Softwaretechnik
Newest Version at http://www.losoft.de/

USAGE: apm [/I | /S | /H] [/Q] [/F]
    /I[nfo]      - Print power information
                   This is the default command
    /S[uspend]   - Go to suspend mode.
    /H[ibernate] - Go into hibernation.
    /Q[uiet]     - do not ask for confirmation
    /F[orce]     - force suspend/hibernation

ErrorText.exe

Do you even love that nice error messages like "Error 0x5"? In most cases this codes come from a failed Win32 Api call. Using ErrorText you can translate them into clear text - messages.

USAGE: ErrorText ERRORCODE
ERRORCODE - Code of error in decimal or hexadecimal
			format (with leading '0x')

CopyToSystem.exe

Copies some files to the system-directory. Works on Win95 and NT. Using this command you can use the same batch files on both systems.

CopyToSystem 1.1 (LSTools 1.5) - copy files to system folder
Freeware. Copyright (c) 1997-2001 LoSOFT Softwaretechnik
Newest Version at http://www.losoft.de/

USAGE CopyToSystem File, [File...]
  Copies files passed as arguments to the location of systemfiles,
  under Win95 (normaly) 'SYSTEM', under NT (normaly) 'SYSTEM32'.
  This is usefull for auto-copying DLLs at build-time.

ClipDump.exe

Prints the content of the clipboard (text only) to stdout.

ClipDump 1.1 (LSTools 1.5) - print clipboard to stdout
Freeware. Copyright (c) 1997-2001 LoSOFT Softwaretechnik
Newest Version at http://www.losoft.de/

USAGE: ClipDump

scacl.exe

View and modify the security settings of services.
Did you ever want your users to be able to start a special service process? By default only Admins and Power-Users are able to start/stop services. With this tool you can configure the DACL of every service and system driver. A short overview is also available.

SCAcl 1.1 (LSTools 1.5) - view/edit security of NT service/driver objects
Freeware, Copyright (c) 1997-2001 LoSOFT Softwaretechnik
USAGE: scacl.exe [\\MACHINE] service [/S]
       scacl.exe [\\MACHINE] service [/E] [/Q] [/V] [/S] [/T [User]] [/I] [/C]
       [/G User:Mask ...] [/R User ...] [/P User:Mask ...] [/D User:Mask ...]

  \\MACHINE      SCM address                 /S         List also SIDs
  /E             modify (not replace) ACL    /Q         Quiet mode
  /G User:Mask   Give access                 /V         Verbose
  /R User        Remove from ACL(/E mode)    /C         Set empty ACL (clear)
  /P User:Mask   Replace access (/E mode)    /I         Set standard ACL
  /D User:Mask   Deny access                 /T [User]  Take ownership


'Mask' can be any combination of the following priviliges:
    D - delete the service                 C - query the service security
    O - change the service security        G - change the configuration
    H - query the configuration            L - enumerate dependent services
    I - ask the service about its status   P - pause and continue
    Q - ask the SCM about the status       S - start the service
    E - stop the service                   U - invoke user-defined control
    F =   - full control over the service
    X =  CPSEU - control the service (start, stop, ...)
    R =  CHLIQ - get any information about the service
    W =     CG - change the service configuration (not security)

Who.exe

This program prints out the current user, the groups he belongs to and the assigned privileges.

Who 1.51 (LSTools 1.5) - Prints out information about the current user
Copyright (c) 1997-2001 LoSOFT Softwaretechnik
Freeware. Newest Version at http://www.losoft.de/

USAGE: Who.exe [/u /g /G /p /P /a /A]
    /u  - print account information
    /g  - print group memberships
    /G  - print group memberships incl. sids
    /p  - print privileges
    /P  - print privileges incl. explanation
    /a  - print everything (same as /u /g /p)
    /A  - print everything (same as /u /G /P)
    /n  - do not print version information (nologo)

    if no option is passed, only a short account information is printed

setenv.exe

Sets an envorionment variable in the parent or another foreign process. Values can also be read from stdin, so it is possible to pipe other commands output into a environment variable.

New: setenv 1.0 (LSTools 1.5) - set environment var in foreign process
Freeware. Copyright (c) 1997-2001 LoSOFT Softwaretechnik
Newest Version at http://www.losoft.de/

USAGE: setenv [/stdin /stderr] [/P[=] >pid<] >varname[=]< >value<
  /P >pid<   - the process id as decimal or hex (prefix 0x) number of the
               target process. If omitted or zero the parent process is used.
  >varname<  - Name of the environment variable to set.
  >value<    - Value for the environment variable.

  /stdin     - Enable stdin Mode. Input is taken from the command line as long
               as there is input present, then from stdin.
  /stderr    - Enable stderr Mode. Output, if any, is written to stderr.
  Examples:    time /T | setenv /stdin TIME1 - pipe current time into var TIME1
               setenv /P 4711 INCLUDE C:\Inc - set INCLUDE for process 4711
               setenv /P=4711 INCLUDE=C:\Inc - same as above

NetExec

Do you know NetExec? NetExec is the our best tool so far. Using NetExec you can work with multiple accounts simulaneously on NT. It gives you the power of the UNIX-features su, s-bit and login-shells (linux) to NT via a GUI and command line interface.
Do you know the Win2000 "Run As..." feature? Or the new "Fast user switching" in coming Windows XP? NetExec brings both to your NT4.0/Win2k system - in a much better way :-) However, NetExec is not part of LS-Tools. But you should have a look at it on the NetExec page.

Download Newest Version
Download NT-Tools.zip Download LS-Tools (zipped, 72K)