text stringlengths 0 4.23k |
|---|
On an Itanium-based computer, winnt32 can be run from the Extensible Firmware Interface (EFI) or from Windows Server 2003 Enterprise, Windows Server 2003 R2 Enterprise, Windows Server 2003 R2 Datacenter, or Windows Server 2003 Datacenter. Also, on an Itanium architecture-based computer, /cmdcons and /syspart are not available, and options relating to upgrades are not available. |
for more information about hardware compatibility, see Hardware compatibility. |
for more detailed information about using Dynamic Update and installing multiple clients, see the Windows Server 2003 Deployment Kit, which is described in Using the Windows Deployment and Resource Kits. |
for information about modifying boot settings, see the Windows Deployment and Resource Kits for Windows Server 2003. For more information, see Using the Windows Deployment and Resource Kits. |
Using the /unattend command-line option to automate setup affirms that you have read and accepted the Microsoft License Agreement for Windows Server 2003. Before using this command-line option to install Windows Server 2003 on behalf of an organization other than your own, you must confirm that the end user (whether an individual, or a single entity) has received, read, and accepted the terms of the Microsoft License Agreement for that product. OEMs may not specify this key on machines being sold to end users. |
winrs |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Windows remote Management using the winrs command enables you to manage and execute programs remotely. |
Syntax |
winrs [/<parameter>[:<value>]] <command> |
Parameters |
Parameter |
Description |
/remote:<endpoint> |
Specifies the target endpoint using a NetBIOS name or the standard connection:- <url>: [<transport>://]<target>[:<port>]if not specified, /r:localhost is used. |
/unencrypted |
Specifies that the messages to the remote shell aren't encrypted. This parameter is useful for troubleshooting or when the network traffic is already encrypted using ipsec, or when physical security is enforced.By default, the messages are encrypted using Kerberos or NTLM keys.This command-line option is ignored when HTTPS transport is selected. |
/username:<username> |
Specifies username on command line.If not specified, the tool uses Negotiate authentication or prompt for the name.If /username is specified, /password must also be specified. |
/password:<password> |
Specifies password on command line.If /password isn't specified but /username is, the tool prompts for the password.If /password is specified, /username must also be specified. |
/timeout:<seconds> |
This option is deprecated. |
/directory:<path> |
Specifies starting directory for remote shell.If not specified, the remote shell starts in the user's home directory defined by the environment variable %USERPROFILE%. |
/environment:<string>=<value> |
Specifies a single environment variable to be set when shell starts, which allows changing default environment for shell.Multiple occurrences of this switch must be used to specify multiple environment variables. |
/noecho |
Specifies that echo should be disabled. noecho may be necessary to ensure that user's answers to remote prompts aren't displayed locally.By default echo is on. |
/noprofile |
Specifies that the user's profile shouldn't be loaded.By default, the server attempts to load the user profile.If the remote user isn't a local administrator on the target system, then this option is required (the default results in error.) |
/allowdelegate |
Specifies that the user's credentials can be used to access a remote share, for example, a different machine than the target endpoint. |
/compression |
Turn on compression. Older installations on remote machines might not support compression. Default setting is off because older installations on remote machines might not support compression. |
/usessl |
Use an SSL connection when using a remote endpoint. Specifying SSL instead of the transport https: uses the default WinRM default port. |
/? |
Displays help at the command prompt. |
- <url>: [<transport>://]<target>[:<port>]if not specified, /r:localhost is used. |
if not specified, /r:localhost is used. |
By default, the messages are encrypted using Kerberos or NTLM keys.This command-line option is ignored when HTTPS transport is selected. |
This command-line option is ignored when HTTPS transport is selected. |
If not specified, the tool uses Negotiate authentication or prompt for the name.If /username is specified, /password must also be specified. |
If /username is specified, /password must also be specified. |
If /password isn't specified but /username is, the tool prompts for the password.If /password is specified, /username must also be specified. |
If /password is specified, /username must also be specified. |
If not specified, the remote shell starts in the user's home directory defined by the environment variable %USERPROFILE%. |
Multiple occurrences of this switch must be used to specify multiple environment variables. |
By default echo is on. |
By default, the server attempts to load the user profile.If the remote user isn't a local administrator on the target system, then this option is required (the default results in error.) |
If the remote user isn't a local administrator on the target system, then this option is required (the default results in error.) |
Default setting is off because older installations on remote machines might not support compression. |
Remarks |
Examples |
winrs /r:https://contoso.com command |
winrs /r:contoso.com /usessl command |
winrs /r:myserver command |
winrs /r:http://127.0.0.1 command |
winrs /r:http://169.51.2.101:80 /unencrypted command |
winrs /r:https://[::FFFF:129.144.52.38] command |
winrs /r:http://[1080:0:0:0:8:800:200C:417A]:80 command |
winrs /r:https://contoso.com /t:600 /u:administrator /p:$%fgh7 ipconfig |
winrs /r:myserver /env:path=^%path^%;c:\tools /env:TEMP=d:\temp config.cmd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.