Remote system information windows

Connecting to WMI on a Remote Computer

WMI can be used to manage and access WMI data on remote computers. Remote connections in WMI are affected by the Windows Firewall and DCOM settings. User Account Control (UAC) may also require changes to some settings. However, once your have your settings correct, the call to a remote system is very similar to a local WMI call. You may choose to make it more complex however, by using different credentials, alternate authentication protocols, and other security features.

Configuring a Computer for a Remote Connection

Before you can access a remote system with WMI, you may need to check some security settings to confirm that you have access. Specifically:

Windows contains a number of security features that may block access to scripts on remote systems. As such, you may need to modify your system’s Active Directory and Windows Firewall settings before making a WMI call. For more information, see Setting up a Remote WMI Connection and Troubleshooting a Remote WMI Connection.

The correct DCOM settings must be enabled for a remote connection to work. Changing DCOM settings can allow low rights users access to a computer for a remote connection. For more information, see Securing a Remote WMI Connection.

In addition, there may be some circumstances in which you may wish to run WMI though a fixed port. To do this, you will also need to change your settings. For more information, see Setting Up a Fixed Port for WMI.

Connecting to a Remote Computer

At its heart, connecting to a remote system with WMI consists of making sure that you have the appropriate permissions to access the system, and that your connection is properly configured. Once you have those two elements, the connection itself is relatively simple. For example, if you are using your default security credentials, you can access WMI on a remote system using the following code:

Use the -ComputerName parameter common to most WMI cmdlets, such as Get-WmiObject.

Use a moniker that contains the name of the remote system in the call to GetObject.

For the current version of the WMI managed interface (Microsoft.Management.Infrastructure), use the CimSession object to represent a connection to a remote host.

For the v1 version of the WMI managed interface (System.Management), use the ManagementScope object to represent a connection to a remote host.

Use the IWbemLocator::ConnectServer method to specify the name of the remote computer in the strNetworkResource parameter.

The previous code samples are arguably the most basic remote connection you can perform with WMI. Specifically, the samples assume the following:

  • You are an administrator on the remote machine. Due to User Account Control, the account on the remote system must be a domain account in the Administrators group. For more information, see User Account Control and WMI.
  • The password on your current local machine is not blank. This is essentially a Windows security requirement that you must have logged onto your system with a password.
  • Both your local and remote computers are within the same domain. If you need to cross domain boundaries, you would need to supply additional information or use a slightly different programming model.
  • You are using your own account to access the remote machine. If you were trying to access a different account, you would need to supply additional credentials. (Note that trying to access WMI locally with credentials different than your current account is not permitted.)
  • Both computers are running IPv6. WMI supports connections to computers running IPv6. However, both your local machine and «Computer_B» must be running IPv6. Either computer may be running IPv4 also. For more information, see IPv6 and IPv4 Support in WMI.
  • Your script does not need to delegate — that is, it does not need to access additional remote computers through the targeted remote computer. For more information, see Delegating with WMI.
  • You are trying to make a specific call, rather than creating a remote process. For more information, see Creating Processes Remotely using WMI.
Читайте также:  Переместить windows другой жесткий диск

With those restrictions in mind, a remote WMI call is very similar to a local WMI call — the only difference being that you must specify the name of the remote system. However, you may choose to change many of those features: using different credentials, or routing your call through a 3rd party computer, or accessing a different domain.

Description of Microsoft System Information (Msinfo32.exe) Tool

Summary

Windows includes a tool called Microsoft System Information (Msinfo32.exe). This tool gathers information about your computer and displays a comprehensive view of your hardware, system components, and software environment, which you can use to diagnose computer issues.

If you run MSINFO32 without Administrator privileges, it may show some drivers as stopped when they are not. This is because the cache for this information requires Administrator privileges to update. To avoid this issue, make sure to run MSINFO32 with Administrator privileges.

MSINFO32 is not able to provide hardware information when run in Safe Mode. While Microsoft System Information can be run in Safe Mode, it is limited to displaying information about system components and the software environment.

More Information

How to start MSINFO32

Expand your version of Windows below for instructions to run MSINFO32:

Type msinfo32 in the Search box.

Right-click System Information in the search results and select Run as administrator.

While on the Start screen, type msinfo32. (Alternatively, swipe in from the right edge of the screen and select Search. If you are using a mouse, point to the lower-right corner of the screen, and then select Search. Then type msinfo32 in the Search box.)

Right-click (or tap and hold) the search results and select Run as administrator.

Click Start. Type msinfo32 in the Search box.

Right-click msinfo32.exe in the search results, and then click Run as administrator.

How to run MSINFO32 using the Command Prompt

You can also run MSINFO32 from an elevated command prompt. To open the command prompt, type cmd in the Search box. Then right-click Command Prompt in the search results and select Run as administrator.

You can perform the following tasks using the MSINFO32 command-line tool switches:

Create .nfo or .txt files that contain your system information.

Start System Information connected to a remote computer.

Use the following syntax in the command prompt to run the MSINFO32 command on computers that are running Windows 7, Windows 8.1, and Windows 10:

Msinfo32 [ /nfo Path] [ /report Path] [ /computer ComputerName]

Parameters Path
Specifies the file to be opened in the format C:\ folder1\ file1. xxx where C is the drive letter, folder1 is the folder, file1 is the file and xxx is the file name extension.

ComputerName
This can be a Universal Naming Convention name, an IP address, or a Fully Qualified Domain Name.

/nfo
Saves the exported file as an .nfo file. If the file name that is specified in Path does not end in .nfo, an .nfo file name extension will be appended to the file name.

/report
Saves the file that is specified in Path in the .txt format. The file name will be saved exactly as it appears in path. The .txt file name extension will not be appended to the file unless it is specified in Path.

/computer
Starts System Information for the specified remote computer.

Note: When you connect to a remote computer, you must have appropriate permissions to access WMI on the remote computer.

Examples To view your System Information, type:

Удаленное администрирование клиентского компьютера Windows с помощью Configuration Manager How to remotely administer a Windows client computer by using Configuration Manager

Область применения: Configuration Manager (Current Branch) Applies to: Configuration Manager (current branch)

Configuration Manager позволяет подключаться к клиентским компьютерам с помощью Удаленного управления Configuration Manager. Configuration Manager allows you to connect to client computers using Configuration Manager Remote Control. Прежде чем приступить к использованию удаленного управления, просмотрите сведения, описанные в следующих статьях. Before you begin to use remote control, ensure that you review the information in the following articles:

Читайте также:  Windows заблокирован как получить

Запустить средство просмотра удаленного управления можно тремя способами: Here are three ways to start the remote control viewer:

В консоли Configuration Manager. In the Configuration Manager console.

В командной строке Windows. In a Windows command prompt.

В меню Пуск ОС Windows на компьютере с запущенной консолью Configuration Manager в группе программ Microsoft Endpoint Manager. From the Windows Start menu, on a computer that runs the Configuration Manager console, in the Microsoft Endpoint Manager program group.

Выше указаны пути в главном меню для версии 1910 (от ноября 2019 г.) или более поздней версии. The above Start menu path is for versions from November 2019 (version 1910) or later. В более ранних версиях эта папка называется Microsoft System Center. In earlier versions, the folder name is Microsoft System Center.

Удаленное администрирование клиентского компьютера на консоли Configuration Manager To remotely administer a client computer from the Configuration Manager console

В консоли Configuration Manager выберите Активы и соответствие > Устройства или Коллекции устройств. In the Configuration Manager console, choose Assets and Compliance > Devices or Device Collections.

Выберите компьютер для удаленного администрирования, а затем на вкладке Главная в группе Устройство выберите пункты Запустить > Удаленное управление. Select the computer that you want to remotely administer and then, in the Home tab, in the Device group, choose Start > Remote Control.

Если для параметра клиента Запрашивать согласие пользователя на удаленное управление задано значение True, подключение не будет инициировано до тех пор, пока пользователь на удаленном компьютере не подтвердит запрос на удаленное управление. If the client setting Prompt user for Remote Control permission is set to True, the connection does not initiate until the user at the remote computer agrees to the remote control prompt. Дополнительные сведения см. в статье Настройка отчетов. For more information, see Configuring remote control.

После открытия окна Удаленное управление Configuration Manager можно выполнять удаленное администрирование клиентского компьютера. After the Configuration Manager Remote Control window opens, you can remotely administer the client computer. Для настройки подключения используйте следующие параметры. Use the following options to configure the connection.

Если компьютер, к которому вы подключаетесь, имеет несколько мониторов, изображение со всех этих мониторов выводится в окне удаленного управления. If the computer that you connect to has multiple monitors, the display from all the monitors is shown in the remote control window.

Файл File

  • Подключить: подключение к другому компьютеру. Connect — Connect to another computer. Этот параметр недоступен, если сеанс удаленного управления активен. This option is unavailable when a remote control session is active.
  • Отключить: отключение активного сеанса удаленного управления без закрытия окна Удаленное управление Configuration Manager. Disconnect — Disconnects the active remote control session but doesn’t close the Configuration Manager Remote Control window.
  • Выход: отключение активного сеанса удаленного управления и закрытие окна Удаленное управление Configuration Manager. Exit — Disconnects the active remote control session and closes the Configuration Manager Remote Control window.

При отключении сеанса удаленного управления содержимое буфера обмена Windows на просматриваемом компьютере удаляется. When you disconnect a remote control session, the contents of the Windows Clipboard on the computer that you are viewing is deleted.

View (Вид) View

  • **Глубина цвета **: выберите 16 бит на пиксель или 32 бита на пиксель. Color depth — Choose either 16 bits or 32 bits per pixel.
  • Во весь экран: разворачивание окна Удаленное управление Configuration Manager. Full Screen — Maximizes the Configuration Manager Remote Control window. Чтобы выйти из полноэкранного режима, нажмите клавиши CTRL + ALT + BREAK. To exit full screen mode, press Ctrl+Alt+Break.
  • Оптимизировать для низкой пропускной способности: выберите этот параметр, если соединение имеет низкую пропускную способность. Optimize for low bandwidth connection — Choose this option if the connection is low bandwidth.
  • Отобразить:Display:
    • Все экраны — если компьютер, к которому вы подключаетесь, имеет несколько мониторов, изображение со всех этих мониторов выводится в окне удаленного управления. All Screens — If the computer that you connect to has multiple monitors, the display from all the monitors is shown in the remote control window.
    • Первый экранпервый экран находится в верхнем левом углу, как показано в параметрах отображения Windows. First Screen — The first screen is at the top and far left as shown in Windows display settings. Нельзя выбрать определенный экран. You can’t select a specific screen. Когда вы переключаете конфигурацию средства просмотра, повторно запустите удаленный сеанс. When you switch the configuration of the viewer, reconnect the remote session. Средство просмотра сохраняет ваши предпочтения для использования при следующем подключении. The viewer saves your preference for future connections.
    • Масштабировать по размеру: масштабирование экрана удаленного компьютера в соответствии с размером окна Удаленное управление Configuration Manager. Scale to Fit — Scales the display of the remote computer to fit the size of the Configuration Manager Remote Control window.
    • Строка состояния: отображение или скрытие строки состояния окна Удаленное управление Configuration Manager. Status Bar — Toggles the display of the Configuration Manager Remote Control window status bar.
Читайте также:  Лучший ssh клиент для windows

Средство просмотра сохраняет ваши предпочтения для использования при следующем подключении. The viewer saves your preference for future connections.

Действие Action

  • Отправить сочетание клавиш CTRL+ALT+DEL: отправка нажатия клавиш CTRL+ALT+DEL на удаленный компьютер. Send Ctrl+Alt+Del Key — Sends a Ctrl+Alt+Del key combination to the remote computer.
  • Включить совместное использование буфера обмена: возможность копировать и вставлять элементы, перемещая их на удаленный компьютер и с удаленного компьютера. Enable Clipboard Sharing — Lets you copy and paste items to and from the remote computer. Если значение этого параметра изменено, необходимо перезапустить сеанс удаленного управления, чтобы изменения вступили в силу. If you change this value, you must restart the remote control session for the change to take effect.
    • Если включать совместное использование буфера обмена в консоли Configuration Manager не требуется, на компьютере, где запущена консоль, задайте для раздела реестра HKEY_CURRENT_USER\Software\Microsoft\ConfigMgr10\Remote Control\Clipboard Sharing значение 0. If you don’t want clipboard sharing to be enabled in the Configuration Manager console, on the computer running the console, set the value of the registry key HKEY_CURRENT_USER\Software\Microsoft\ConfigMgr10\Remote Control\Clipboard Sharing to 0.
  • Включить перевод вводимого с клавиатуры текста: перевод раскладки клавиатуры компьютера, на котором работает консоль, в раскладку подключенного устройства. Enable Keyboard Translation — Translates the keyboard layout of the computer running the console to the connected device’s layout.
  • Заблокировать удаленную клавиатуру и мышь: блокирование удаленной мыши и клавиатуры, чтобы предотвратить работу пользователя на удаленном компьютере. Lock Remote Keyboard and Mouse — Locks the remote keyboard and mouse to prevent the user from operating the remote computer.

Справка Help

  • Об удаленном управлении: вывод текущей версии средства просмотра. About Remote Control — Displays the current version of the viewer.

Пользователи удаленного компьютера могут просмотреть дополнительные сведения о сеансе удаленного управления, щелкнув значок Удаленное управление Configuration Manager. Users at the remote computer can view more information about the remote control session when they click the Configuration Manager Remote Control icon. Значок находится в области уведомлений ОС Windows или на панели сеанса удаленного управления. The icon is in the Windows notification area or the icon on the remote control session bar.

Запуск средства просмотра удаленного управления из командной строки Windows To start the remote control viewer from the Windows command line

  • В командной строке Windows введите \AdminConsole\Bin\i386\CmRcViewer.exe At the Windows command prompt, type \AdminConsole\Bin\i386\CmRcViewer.exe

CmRcViewer.exe поддерживает следующие параметры командной строки: CmRcViewer.exe supports the following command-line options:

  • Address — указывает NetBIOS-имя, полное доменное имя или IP-адрес клиентского компьютера, к которому необходимо подключиться. Address — Specifies the NetBIOS name, the fully qualified domain name (FQDN), or the IP address of the client computer that you want to connect to.
  • Имя сервера сайта Site Server Name — укажите имя сервера сайта Configuration Manager, которому необходимо отправлять сообщения о состоянии, относящиеся к сеансу удаленного управления. Site Server Name — Specifies the name of the Configuration Manager site server to which you want to send status messages that are related to the remote control session.
  • /? — выводит параметры командной строки для средства просмотра удаленного управления. /? — Displays the command-line options for the remote control viewer.

Средство просмотра удаленного управления поддерживается во всех операционных системах, которые поддерживает консоль Configuration Manager. The remote control viewer is supported on all operating systems that are supported for the Configuration Manager console. Дополнительные сведения см. в статьях Поддерживаемые версии ОС в Configuration Manager и Необходимые условия для удаленного управления. For more information, see Supported configurations for Configuration Manager consoles and Prerequisites for remote control.

Оцените статью