Меню Рубрики

Windows command run command

Run command for Control panel

Control panel shows links to various configuration utilities, which are handy for administrators for computer maintenance. Run command to open control panel is ‘control’.

Open control panel from Run

You can follow the below steps to open control panel from Run window.

  1. Open Run window from Start menu. Alternatively, you can press the shortcut key combinations [Windows]+[R]
  2. Type in control and press enter.

This works on all Windows editions – Windows 7, Windows 7 and Server 2008, Server 2012 editions.

Run Control panel as administrator

We can use runas command to launch any program with a different user credentials. If you need to run control panel with administrator privileges, use the below command. We can run this either from Run window or from command prompt. In both the cases you would be prompted for administrator’s password.

It opens up control panel window after printing the above message.

Finally! Been looking for this for a month or so.
Best reference site ever I must say.

I like this site too.

I just checked that running ‘control panel’ also opens it up the same way. Though just running ‘control’ is fast and simple to remember.

but what if I want to DIRECTLY open something in the Control Panel,
such as Internet Options.
Do I type
control panelinternet options
doesn’t seem to do what I want.
BACK TO THE RESEARCH LAB…

‘inetcpl.cpl’ does this.

As the admin said inetcpl.cpl will do that.
Others that could be useful are
ncpa.cpl (Network connections)
appwiz.cpl (add/remove programs)
main.cpl (Mouse Properties)
sysdm.cpl (System Properties)
mmsys.cpl (Sound Properties)
timedate.cpl (Time/date)
powercfg.cpl (Power settings)
desk.cpl (display properties / resolution)
firewall.cpl (Firewall settings)
wscui.cpl (Action center)

Sorry, this command doesn’t works anymore….when it asks for password of administrator; it does not types anything…..it shows:

RUNAS ERROR: Unable to run – cmd
1327: Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.

Kshitij,
Looks like there could be a policy applied by admin of the system to not allow users run this command. Also it does not show anything when you type in the password, not even ‘*’s and the cursor stays at the same position.

how to open control panel and use it from control prompt by using dos commands please tell me

very well, working Perfect. just want to add if you are under domain then you can write like that:

normel PC
runas /user:administrator control
Domain PC
runas /user:domainnameshahid control

not working on windows 10 pro

I have one question. I want to run as administrator with full control of it desktop. what is command line ?

Thank for your sharing.

This command was over ridden by our domain group policy, which prevents users from seeing all applets. I’m a network admin. How can I get around the group policy? Thanks

I don’t think it would be possible to override the group policy. If it was restricting you to open control panel, I understand you would not be able to see those links to different tools/consoles. However as you probably know, you can open the application you need with direct run command.

Источник

Windows commands

All supported versions of Windows (server and client) have a set of Win32 console commands built in.

This set of documentation describes the Windows Commands you can use to automate tasks by using scripts or scripting tools.

Prerequisites

The information that is contained in this topic applies to:

  • Windows Server 2019
  • Windows Server (Semi-Annual Channel)
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2012
  • Windows Server 2008 R2
  • Windows Server 2008
  • Windows 10
  • Windows 8.1

Command shell overview

The Command shell was the first shell built into Windows to automate routine tasks, like user account management or nightly backups, with batch (.bat) files. With Windows Script Host you could run more sophisticated scripts in the Command shell. For more information, see cscript or wscript. You can perform operations more efficiently by using scripts than you can by using the user interface. Scripts accept all Commands that are available at the command line.

Windows has two command shells: The Command shell and PowerShell. Each shell is a software program that provides direct communication between you and the operating system or application, providing an environment to automate IT operations.

PowerShell was designed to extend the capabilities of the Command shell to run PowerShell commands called cmdlets. Cmdlets are similar to Windows Commands but provide a more extensible scripting language. You can run Windows Commands and PowerShell cmdlets in Powershell, but the Command shell can only run Windows Commands and not PowerShell cmdlets.

For the most robust, up-to-date Windows automation, we recommend using PowerShell instead of Windows Commands or Windows Script Host for Windows automation.

You can also download and install PowerShell Core, the open source version of PowerShell.

Incorrectly editing the registry may severely damage your system. Before making the following changes to the registry, you should back up any valued data on the computer.

To enable or disable file and directory name completion in the Command shell on a computer or user logon session, run regedit.exe and set the following reg_DWOrd value:

To set the reg_DWOrd value, use the hexadecimal value of a control character for a particular function (for example, 0 9 is Tab and 0 08 is Backspace). User-specified settings take precedence over computer settings, and command-line options take precedence over registry settings.

Command-line reference A-Z

To find information about a specific command, in the following A-Z menu, click the letter that the command starts with, and then click the command name.

Источник

Команды Windows Windows commands

Все поддерживаемые версии Windows (сервер и клиент) имеют набор встроенных команд консоли Win32. All supported versions of Windows (server and client) have a set of Win32 console commands built in.

Этот набор документации описывает команды Windows, которые можно использовать для автоматизации задач с помощью скриптов или средств создания скриптов. This set of documentation describes the Windows Commands you can use to automate tasks by using scripts or scripting tools.

Предварительные требования Prerequisites

Сведения, содержащиеся в этом разделе, применимы к: The information that is contained in this topic applies to:

  • Windows Server 2019 Windows Server 2019
  • Windows Server (Semi-Annual Channel) Windows Server (Semi-Annual Channel)
  • Windows Server 2016 Windows Server 2016
  • Windows Server 2012 R2 Windows Server 2012 R2
  • Windows Server 2012 Windows Server 2012
  • Windows Server 2008 R2 Windows Server 2008 R2
  • Windows Server 2008 Windows Server 2008
  • Windows 10 Windows 10
  • Windows 8.1 Windows 8.1

Общие сведения о командной оболочке Command shell overview

Командная оболочка была первой оболочкой, встроенной в Windows, для автоматизации стандартных задач, таких как управление учетными записями пользователей или ночное резервное копирование с пакетными файлами (bat). The Command shell was the first shell built into Windows to automate routine tasks, like user account management or nightly backups, with batch (.bat) files. С помощью сервера сценариев Windows можно выполнять более сложные сценарии в командной оболочке. With Windows Script Host you could run more sophisticated scripts in the Command shell. Дополнительные сведения см. в разделе cscript или Wscript. For more information, see cscript or wscript. С помощью скриптов можно более эффективно выполнять операции, чем с помощью пользовательского интерфейса. You can perform operations more efficiently by using scripts than you can by using the user interface. Скрипты принимают все команды, доступные в командной строке. Scripts accept all Commands that are available at the command line.

Windows имеет две командные оболочки: Командная оболочка и PowerShell. Windows has two command shells: The Command shell and PowerShell. Каждая оболочка представляет собой программную программу, обеспечивающую прямой обмен данными между вами и операционной системой или приложением, предоставляя среду для автоматизации ИТ-операций. Each shell is a software program that provides direct communication between you and the operating system or application, providing an environment to automate IT operations.

PowerShell был разработан для расширения возможностей командной оболочки для выполнения команд PowerShell, называемых командлетами. PowerShell was designed to extend the capabilities of the Command shell to run PowerShell commands called cmdlets. Командлеты похожи на команды Windows, но предоставляют более расширяемый язык сценариев. Cmdlets are similar to Windows Commands but provide a more extensible scripting language. Вы можете выполнять команды Windows и командлеты PowerShell в PowerShell, но Командная оболочка может выполнять только команды Windows, а не командлеты PowerShell. You can run Windows Commands and PowerShell cmdlets in Powershell, but the Command shell can only run Windows Commands and not PowerShell cmdlets.

Для наиболее надежной и последней версии службы автоматизации Windows рекомендуется использовать PowerShell вместо команд Windows или сервера сценариев Windows для службы автоматизации Windows. For the most robust, up-to-date Windows automation, we recommend using PowerShell instead of Windows Commands or Windows Script Host for Windows automation.

Вы также можете скачать и установить PowerShell Core, версию PowerShell с открытым исходным кодом. You can also download and install PowerShell Core, the open source version of PowerShell.

Неправильное изменение реестра может серьезно повредить систему. Incorrectly editing the registry may severely damage your system. Перед внесением следующих изменений в реестр следует создать резервную копию всех ценных данных на компьютере. Before making the following changes to the registry, you should back up any valued data on the computer.

Чтобы включить или отключить завершение имен файлов и каталогов в командной оболочке на компьютере или в сеансе входа пользователя, запустите regedit.exe и задайте следующее значение reg_DWOrd: To enable or disable file and directory name completion in the Command shell on a computer or user logon session, run regedit.exe and set the following reg_DWOrd value:

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\completionChar\reg_DWOrd HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\completionChar\reg_DWOrd

Чтобы задать значение reg_DWOrd , используйте шестнадцатеричное значение управляющего символа для конкретной функции (например, 0 9 — TAB, а 0 08 — Backspace). To set the reg_DWOrd value, use the hexadecimal value of a control character for a particular function (for example, 0 9 is Tab and 0 08 is Backspace). Заданные пользователем параметры имеют приоритет над параметрами компьютера, а параметры командной строки имеют приоритет над параметрами реестра. User-specified settings take precedence over computer settings, and command-line options take precedence over registry settings.

Справочник по командной строке A-Z Command-line reference A-Z

Чтобы найти сведения о конкретной команде, в следующем меню A-Z щелкните букву, с которой начинается команда, а затем щелкните имя команды. To find information about a specific command, in the following A-Z menu, click the letter that the command starts with, and then click the command name.

Объект | Б | C | Г | Д | F | Ж | З | Я | J | Л | L | М | N | O | P | Вопросы и ответы | Язык R | С | T | U | Версия | Н | X | Y | Гармошкой A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Windows command line zip
  • Windows command line format command
  • Windows command line find command
  • Windows command line command list
  • Windows color profile folder