2 Ways to Force Logoffs from the Command
Line
Supplement 4 tools let you
force logoffs locally or remotely. Source: Windows
2000 Magazine (Aug 2000) Command-Line Switches
for the Microsoft Windows Installer Tool
Microsoft Knowledge Base Article: 227091 - The
Windows Installer executable program that interprets
packages and installs products is Msiexec.exe.
This article lists the command-line switches for
this program. You cannot run the Msiexec.exe program
without specifying at least one switch.
Command-Line Parameters
Which Support Connection Manager Profile Installation
Procedures
Microsoft Knowledge Base Article: 266793 - Command-line
parameters are used to support the installation
of profiles that are created using the Connection
Manager Administration Kit (CMAK -. There are
several command-line parameters that administrators
may use to install CMAK profiles
How to Create and
Start a Service on a Remote Computer By Using
the Command-Line or a Script
Microsoft Knowledge Base Article: 252340 - This
article describes how to create and start a service
remotely on a Windows NT-based or Windows 2000-based
computer from the command line. In this scenario,
the program file resides on all the remote computers;
you want to write a script to create and start
the service automatically.
How to Change User
Password at Command Prompt
Microsoft Knowledge Base Article: 149427 - Only
administrators can change domain passwords at
the Windows NT command prompt with the NET USER
command. To change a user's password at the command
prompt, log on as an administrator and type: NET
USER <UserName> * /domain. You will
then be prompted to type a password for the user.
Enter the NEW password, not the existing password.
How to Change a Computer's
Domain Name System Server from the Command Line
Microsoft Knowledge Base Article: 290396 - This
article describes how to change a computer's Domain
Name System (DNS) server or servers from the command
line, either locally or remotely. This operation
requires you to use the Regfind.exe tool from
either the Microsoft Windows NT Server Resource
Kit or the Microsoft Windows 2000 Server Resource
Kit.
How to Close All
Files Opened by Network Clients from the Command
Line
Microsoft Knowledge Base Article: 290585 - This
article describes how to close all open files
on a Windows NT 4.0-based computer or Windows
2000-based computer from the command line. You
can use this command to close files on the computer
where the files reside, which you may find most
useful when you run it prior to backup procedures
in environments where users do not log off, disconnect,
or close files prior to scheduled backup procedures.
This command only affects files that are open
from SMB clients. It does not affect interprocess
communication (IPC) or remote procedure call (RPC)
connections, HTTP requests, or files that are
in use by FTP clients
HOW TO: Compress
and Expand Files and Folders in Windows 2000 with
the COMPRESS, COMPACT, and EXPAND Commands
Microsoft Knowledge Base Article: 314958 - This
step-by-step article describes how to use the
compact and the compress commands
to compress files and folders in Microsoft Windows
2000.
How to Enable Automatic
Complete for the Command Prompt (Cmd.exe)
Microsoft Knowledge Base Article: 244407 - File
name completion and folder name completion are
quick-search features of the Windows NT command
processor, Cmd.exe. When you type a path or a
file name and then press TAB, Cmd.exe searches
for all files whose path and file name match
How to Lock a Workstation
from the Command Line
Microsoft Knowledge Base Article: 262646 - This
article describes how to lock a Windows 2000-based
workstation from the command line.
How to Open Control
Panel Folders from the Command Prompt
Microsoft Knowledge Base Article: 180025 -
This article describes how to
start Control Panel applications and/or open folders
at the MS-DOS command prompt.
How to Run a Domain
Logon Script in the Foreground with the Start.exe
Command-Line Tool
Microsoft Knowledge Base Article: 265016 - By
default, logon scripts run in the background.
You can use the Start.exe command-line tool to
run local and domain logon scripts on computers
that are running Microsoft Windows 95, Microsoft
Windows 98, Microsoft Windows NT 4.0, and Windows2000
How to Use a Command
Prompt During GUI-Mode Setup
Microsoft Knowledge Base Article: 242380 - This
article describes how to gain access to a command
prompt during GUI-mode Setup.
How to Use Property
Reference Command-Line Parameters with Msiexec.exe
Microsoft Knowledge Base Article: 230781 - It
is possible to perform all Microsoft Windows Installer
functions at a command prompt by using Msiexec.exe.
You can use many property command-line switches
to perform different functions or set certain
variables. Some examples include setting the Company
Name variable and applying patches or transforms
How to Use the Netsh.exe
Tool and Command-Line Switches
Microsoft Knowledge Base Q242468 - Article Netsh.exe
is a tool an administrator can use to configure
and monitor Windows 2000-based computers at a
command prompt. With the Netsh.exe tool, you can
direct the context commands you enter to the appropriate
helper, and the helper then carries out the command.
A helper is a Dynamic Link Library (.dll) file
that extends the functionality of the Netsh.exe
tool by providing configuration, monitoring, and
support for one or more services, utilities, or
protocols. The helper may also be used to extend
other helpers.
NETDOM
Make and break trust relationships
from the command line. Source: Windows 2000
Magazine (March 1999)
Using the More Option
at a Command Prompt
Microsoft Knowledge Base Article: 227449 - When
you use a command with the "|more" option at a
command prompt, pressing ENTER advances only to
the next line, rather than advancing by a full
screen.
XCACLS
Add to file and directory
ACLs without replacing permissions. Source: Windows
2000 Magazine (March 1998) |