- This plugin generates a list of NT services that are installed on the
local NT/W2K/XP machine with the current started status. You can
start/stop the service by pressing S or pause/continue the service by
pressing P on the corresponding entry.
- You can open the servicelist window through WinManager (as described in
the installation section below) or by assigning a hot key. You can use
the same hot key to open/close the window. Alternatively, you can also
use the :NTServices command to open/close the services window.
- You can choose which fields that you want to see by using the
NtsFields command. You can select the sort fields by pressing s
consecutively and r for reversing the sort direction.
- If you have permissions, you can view the service list in a remote m/c
by using the NtsSetHost command. With no arguments, it prints the
current remote host name. To switch back to the local m/c, use "." for
the host name.
- For the sake of speed, the list of services is cached. To see the latest
set of services and their states at any time, refresh the window by
pressing 'R'.
- It requires multvals and genutils plugins to be always installed, but
others are required only depending on your usage/setting (for a better
experience and formatting).

- Place the plugin in a plugin diretory under runtimepath and configure
WinManager according to your taste. E.g:

let g:winManagerWindowLayout = 'FileExplorer,NTServices'

You can then switch between FileExplorer and NTServices by pressing ^N
and ^P.
- If you don't want to use WinManager, you can still use the :NTServices
comamnd or assign a hotkey by placing the following in your vimrc:

nmap <silent> <F5> <Plug>NTServices

You can substitute any key or sequnce of keys for <F5> in the above map.
- Requires multvals.vim to be installed. Download from:
http://www.vim.org/script.php?script_id=171- Requires genutils.vim to be installed. Download from:
http://www.vim.org/script.php?script_id=197- If Align.vim is installed, it is used to format the output.
- Requires cscript.exe and net.exe to be in the path.
- Use g:ntservFields, g:ntservSortFieldIndex, g:ntservSortDirection to
specify field names, default sort field and the sort direction
respectively. Use NtsFields command to see the list of field names
possible.

Minor updates:
- Fixed the bug in connecting to a remote host, basically it wasn't working.
- NtsSetHost is now global, so you don't have to open the window before
switching to a remote host.
- Check and not load if it is not windows (David Fishburn).

- Renamed NTsFields command to NtsFields.
- Now genutils.vim plugin is required. Download it from http://www.vim.org/script.php?script_id=197- Fixed a bug with buffer name on solaris.
- New feature to connect to a remote host.
- q to quit window.
- Version dependency check on multvals and genutils plugin. You now get an error message during the Vim startup, if you don't have minimum required versions of these two dependent plugins.

You can select the list of fields that you want to see in the services list. You can specify the field list in your vimrc, but you can always dynamically change them using NTservFields command at runtime. This new feature adds a new dependency on multvals plugin, but others are still optional.

With the help of David Fishburn, I was able to identify a problem and fix it. I also added a command and <Plug> mapping to activate the window without needing WinManager at all (for those who don't want to install WinManager). Thanks a lot to David for debugging the problem and providing help in other ways too.

Cscript wasn't executing vbscripts on some machines unless the //E:vbscript option is passed. If it still doesn't work for you, please do me a favour by running cscript manually on the temp file created with the .vbs extension in the temp directory like this: