Windows system error 87 new smbmapping

New-Smb Mapping Creates an SMB mapping. Syntax Description The New-SmbMapping cmdlet creates a Server Message Block (SMB) mapping on the SMB client to an

New-Smb Mapping

Creates an SMB mapping.

Syntax

Description

The New-SmbMapping cmdlet creates a Server Message Block (SMB) mapping on the SMB client to an SMB share.

Examples

Example 1: Create an SMB mapping

This command creates an SMB mapping.

Parameters

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CimSession

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Type: CimSession [ ]
Aliases: Session
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Aliases: cf
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-HomeFolder

Indicates that the connection is made to the home folder of the user.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LocalPath

Specifies the local path to which the remote path is mapped.

Type: String
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Password

Specifies the password to be used to connect to the SMB share.

Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Persistent

Indicates that this connection is persistent.

Type: Boolean
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RemotePath

Specifies the remote path that is accessed from this computer.

Type: String
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SaveCredentials

Indicates that the credentials provided should be saved for when a mapping to the same SMB server also is created.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ThrottleLimit

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellВ® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Type: Int32
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserName

Specifies the user name to use to connect to the SMB share.

Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Aliases: wi
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

Inputs

None

Outputs

This cmdlet returns a MSFT_SmbMapping object that represents the newly created SMB mapping.

Источник

Name already in use

msft-azure-docs / articles / storage / files / storage-troubleshoot-windows-file-connection-problems.md

  • Go to file T
  • Go to line L
  • Copy path
  • Copy permalink

Copy raw contents

Copy raw contents

Troubleshoot Azure Files problems in Windows

This article lists common problems that are related to Microsoft Azure Files when you connect from Windows clients. It also provides possible causes and resolutions for these problems. In addition to the troubleshooting steps in this article, you can also use AzFileDiagnostics to ensure that the Windows client environment has correct prerequisites. AzFileDiagnostics automates detection of most of the symptoms mentioned in this article and helps set up your environment to get optimal performance. You can also find this information in the Azure Files shares Troubleshooter that provides steps to assist you with problems connecting/mapping/mounting Azure Files shares.

Error 53, Error 67, or Error 87 when you mount or unmount an Azure file share

When you try to mount a file share from on-premises or from a different datacenter, you might receive the following errors:

  • System error 53 has occurred. The network path was not found.
  • System error 67 has occurred. The network name cannot be found.
  • System error 87 has occurred. The parameter is incorrect.

Cause 1: Unencrypted communication channel

For security reasons, connections to Azure file shares are blocked if the communication channel isn’t encrypted and if the connection attempt isn’t made from the same datacenter where the Azure file shares reside. Communication channel encryption is provided only if the user’s client OS supports SMB encryption.

Windows 8, Windows Server 2012, and later versions of each system negotiate requests that include SMB 3.0, which supports encryption.

Solution for cause 1

Connect from a client that does one of the following:

  • Meets the requirements of Windows 8 and Windows Server 2012 or later versions
  • Connects from a virtual machine in the same datacenter as the Azure storage account that is used for the Azure file share

Cause 2: Port 445 is blocked

System error 53 or system error 67 can occur if port 445 outbound communication to an Azure Files datacenter is blocked. To see the summary of ISPs that allow or disallow access from port 445, go to TechNet.

To understand whether this is the reason behind the «System error 53» message, you can use Portqry to query the TCP:445 endpoint. If the TCP:445 endpoint is displayed as filtered, the TCP port is blocked. Here is an example query:

g:DataDumpToolsPortqry>PortQry.exe -n [storage account name].file.core.windows.net -p TCP -e 445

If TCP port 445 is blocked by a rule along the network path, you will see the following output:

TCP port 445 (microsoft-ds service): FILTERED

For more information about how to use Portqry, see Description of the Portqry.exe command-line utility.

Solution for cause 2

Work with your IT department to open port 445 outbound to Azure IP ranges.

Cause 3: NTLMv1 is enabled

System error 53 or system error 87 can occur if NTLMv1 communication is enabled on the client. Azure Files supports only NTLMv2 authentication. Having NTLMv1 enabled creates a less-secure client. Therefore, communication is blocked for Azure Files.

To determine whether this is the cause of the error, verify that the following registry subkey is set to a value of 3:

HKLMSYSTEMCurrentControlSetControlLsa > LmCompatibilityLevel

For more information, see the LmCompatibilityLevel topic on TechNet.

Solution for cause 3

Revert the LmCompatibilityLevel value to the default value of 3 in the following registry subkey:

HKLMSYSTEMCurrentControlSetControlLsa

Error 1816 «Not enough quota is available to process this command» when you copy to an Azure file share

Error 1816 happens when you reach the upper limit of concurrent open handles that are allowed for a file on the computer where the file share is being mounted.

Reduce the number of concurrent open handles by closing some handles, and then retry. For more information, see Microsoft Azure Storage performance and scalability checklist.

Slow file copying to and from Azure Files in Windows

You might see slow performance when you try to transfer files to the Azure File service.

  • If you don’t have a specific minimum I/O size requirement, we recommend that you use 1 MiB as the I/O size for optimal performance.
  • If you know the final size of a file that you are extending with writes, and your software doesn’t have compatibility problems when the unwritten tail on the file contains zeros, then set the file size in advance instead of making every write an extending write.
  • Use the right copy method:
    • Use AzCopy for any transfer between two file shares.
    • Use Robocopy between file shares on an on-premises computer.

Considerations for Windows 8.1 or Windows Server 2012 R2

For clients that are running Windows 8.1 or Windows Server 2012 R2, make sure that the KB3114025 hotfix is installed. This hotfix improves the performance of create and close handles.

You can run the following script to check whether the hotfix has been installed:

reg query HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParametersPolicies

If hotfix is installed, the following output is displayed:

HKEY_Local_MACHINESYSTEMCurrentControlSetServicesLanmanWorkstationParametersPolicies <96c345ef-3cac-477b-8fcd-bea1a564241c>REG_DWORD 0x1

[!Note] Windows Server 2012 R2 images in Azure Marketplace have hotfix KB3114025 installed by default, starting in December 2015.

No folder with a drive letter in My Computer

If you map an Azure file share as an administrator by using net use, the share appears to be missing.

By default, Windows File Explorer does not run as an administrator. If you run net use from an administrative command prompt, you map the network drive as an administrator. Because mapped drives are user-centric, the user account that is logged in does not display the drives if they are mounted under a different user account.

Mount the share from a non-administrator command line. Alternatively, you can follow this TechNet topic to configure the EnableLinkedConnections registry value.

Net use command fails if the storage account contains a forward slash

The net use command interprets a forward slash (/) as a command-line option. If your user account name starts with a forward slash, the drive mapping fails.

You can use either of the following steps to work around the problem:

Run the following PowerShell command:

New-SmbMapping -LocalPath y: -RemotePath \servershare -UserName accountName -Password «password can contain / and etc»

From a batch file, you can run the command this way:

Echo new-smbMapping . | powershell -command –

Put double quotation marks around the key to work around this problem—unless the forward slash is the first character. If it is, either use the interactive mode and enter your password separately or regenerate your keys to get a key that doesn’t start with a forward slash.

Application or service cannot access a mounted Azure Files drive

Drives are mounted per user. If your application or service is running under a different user account than the one that mounted the drive, the application will not see the drive.

Use one of the following solutions:

Mount the drive from the same user account that contains the application. You can use a tool such as PsExec.

Pass the storage account name and key in the user name and password parameters of the net use command.

Use the cmdkey command to add the credentials into Credential Manager. Perform this from a command line under the service account context, either through an interactive login or by using runas.

cmdkey /add: .file.core.windows.net /user:AZURE /pass:

Map the share directly without using a mapped drive letter. Some applications may not reconnect to the drive letter properly, so using the full UNC path may be more reliable.

net use * \storage-account-name.file.core.windows.netshare

After you follow these instructions, you might receive the following error message when you run net use for the system/network service account: «System error 1312 has occurred. A specified logon session does not exist. It may already have been terminated.» If this occurs, make sure that the username that is passed to net use includes domain information (for example: «[storage account name].file.core.windows.net»).

Error «You are copying a file to a destination that does not support encryption»

When a file is copied over the network, the file is decrypted on the source computer, transmitted in plaintext, and re-encrypted at the destination. However, you might see the following error when you’re trying to copy an encrypted file: «You are copying the file to a destination that does not support encryption.»

This problem can occur if you are using Encrypting File System (EFS). BitLocker-encrypted files can be copied to Azure Files. However, Azure Files does not support NTFS EFS.

To copy a file over the network, you must first decrypt it. Use one of the following methods:

  • Use the copy /d command. It allows the encrypted files to be saved as decrypted files at the destination.
  • Set the following registry key:
    • Path = HKLMSoftwarePoliciesMicrosoftWindowsSystem
    • Value type = DWORD
    • Name = CopyFileAllowDecryptedRemoteDestination
    • Value = 1

Be aware that setting the registry key affects all copy operations that are made to network shares.

Need help? Contact support.

If you still need help, contact support to get your problem resolved quickly.

Источник

title description services documentationcenter author manager editor tags ms.service ms.workload ms.tgt_pltfrm ms.devlang ms.topic ms.date ms.author

Troubleshoot Azure Files problems in Windows | Microsoft Docs

Troubleshooting Azure Files problems in Windows

storage

jeffpatt24

aungoo

tamram

storage

storage

na

na

na

article

05/11/2018

jeffpatt

Troubleshoot Azure Files problems in Windows

This article lists common problems that are related to Microsoft Azure Files when you connect from Windows clients. It also provides possible causes and resolutions for these problems. In addition to the troubleshooting steps in this article, you can also use AzFileDiagnostics to ensure that the Windows client environment has correct prerequisites. AzFileDiagnostics automates detection of most of the symptoms mentioned in this article and helps set up your environment to get optimal performance. You can also find this information in the Azure Files shares Troubleshooter that provides steps to assist you with problems connecting/mapping/mounting Azure Files shares.

Error 53, Error 67, or Error 87 when you mount or unmount an Azure file share

When you try to mount a file share from on-premises or from a different datacenter, you might receive the following errors:

  • System error 53 has occurred. The network path was not found.
  • System error 67 has occurred. The network name cannot be found.
  • System error 87 has occurred. The parameter is incorrect.

Cause 1: Unencrypted communication channel

For security reasons, connections to Azure file shares are blocked if the communication channel isn’t encrypted and if the connection attempt isn’t made from the same datacenter where the Azure file shares reside. Communication channel encryption is provided only if the user’s client OS supports SMB encryption.

Windows 8, Windows Server 2012, and later versions of each system negotiate requests that include SMB 3.0, which supports encryption.

Solution for cause 1

Connect from a client that does one of the following:

  • Meets the requirements of Windows 8 and Windows Server 2012 or later versions
  • Connects from a virtual machine in the same datacenter as the Azure storage account that is used for the Azure file share

Cause 2: Port 445 is blocked

System error 53 or system error 67 can occur if port 445 outbound communication to an Azure Files datacenter is blocked. To see the summary of ISPs that allow or disallow access from port 445, go to TechNet.

To understand whether this is the reason behind the «System error 53» message, you can use Portqry to query the TCP:445 endpoint. If the TCP:445 endpoint is displayed as filtered, the TCP port is blocked. Here is an example query:

g:DataDumpToolsPortqry>PortQry.exe -n [storage account name].file.core.windows.net -p TCP -e 445

If TCP port 445 is blocked by a rule along the network path, you will see the following output:

TCP port 445 (microsoft-ds service): FILTERED

For more information about how to use Portqry, see Description of the Portqry.exe command-line utility.

Solution for cause 2

Work with your IT department to open port 445 outbound to Azure IP ranges.

Cause 3: NTLMv1 is enabled

System error 53 or system error 87 can occur if NTLMv1 communication is enabled on the client. Azure Files supports only NTLMv2 authentication. Having NTLMv1 enabled creates a less-secure client. Therefore, communication is blocked for Azure Files.

To determine whether this is the cause of the error, verify that the following registry subkey is set to a value of 3:

HKLMSYSTEMCurrentControlSetControlLsa > LmCompatibilityLevel

For more information, see the LmCompatibilityLevel topic on TechNet.

Solution for cause 3

Revert the LmCompatibilityLevel value to the default value of 3 in the following registry subkey:

HKLMSYSTEMCurrentControlSetControlLsa

Error 1816 «Not enough quota is available to process this command» when you copy to an Azure file share

Cause

Error 1816 happens when you reach the upper limit of concurrent open handles that are allowed for a file on the computer where the file share is being mounted.

Solution

Reduce the number of concurrent open handles by closing some handles, and then retry. For more information, see Microsoft Azure Storage performance and scalability checklist.

Slow file copying to and from Azure Files in Windows

You might see slow performance when you try to transfer files to the Azure File service.

  • If you don’t have a specific minimum I/O size requirement, we recommend that you use 1 MiB as the I/O size for optimal performance.
  • If you know the final size of a file that you are extending with writes, and your software doesn’t have compatibility problems when the unwritten tail on the file contains zeros, then set the file size in advance instead of making every write an extending write.
  • Use the right copy method:
    • Use AzCopy for any transfer between two file shares.
    • Use Robocopy between file shares on an on-premises computer.

Considerations for Windows 8.1 or Windows Server 2012 R2

For clients that are running Windows 8.1 or Windows Server 2012 R2, make sure that the KB3114025 hotfix is installed. This hotfix improves the performance of create and close handles.

You can run the following script to check whether the hotfix has been installed:

reg query HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParametersPolicies

If hotfix is installed, the following output is displayed:

HKEY_Local_MACHINESYSTEMCurrentControlSetServicesLanmanWorkstationParametersPolicies {96c345ef-3cac-477b-8fcd-bea1a564241c} REG_DWORD 0x1

[!Note]
Windows Server 2012 R2 images in Azure Marketplace have hotfix KB3114025 installed by default, starting in December 2015.

No folder with a drive letter in My Computer

If you map an Azure file share as an administrator by using net use, the share appears to be missing.

Cause

By default, Windows File Explorer does not run as an administrator. If you run net use from an administrative command prompt, you map the network drive as an administrator. Because mapped drives are user-centric, the user account that is logged in does not display the drives if they are mounted under a different user account.

Solution

Mount the share from a non-administrator command line. Alternatively, you can follow this TechNet topic to configure the EnableLinkedConnections registry value.

Net use command fails if the storage account contains a forward slash

Cause

The net use command interprets a forward slash (/) as a command-line option. If your user account name starts with a forward slash, the drive mapping fails.

Solution

You can use either of the following steps to work around the problem:

  • Run the following PowerShell command:

    New-SmbMapping -LocalPath y: -RemotePath \servershare -UserName accountName -Password "password can contain / and etc"

    From a batch file, you can run the command this way:

    Echo new-smbMapping ... | powershell -command –

  • Put double quotation marks around the key to work around this problem—unless the forward slash is the first character. If it is, either use the interactive mode and enter your password separately or regenerate your keys to get a key that doesn’t start with a forward slash.

Application or service cannot access a mounted Azure Files drive

Cause

Drives are mounted per user. If your application or service is running under a different user account than the one that mounted the drive, the application will not see the drive.

Solution

Use one of the following solutions:

  • Mount the drive from the same user account that contains the application. You can use a tool such as PsExec.

  • Pass the storage account name and key in the user name and password parameters of the net use command.

  • Use the cmdkey command to add the credentials into Credential Manager. Perform this from a command line under the service account context, either through an interactive login or by using runas.

    cmdkey /add:<storage-account-name>.file.core.windows.net /user:AZURE<storage-account-name> /pass:<storage-account-key>

  • Map the share directly without using a mapped drive letter. Some applications may not reconnect to the drive letter properly, so using the full UNC path may be more reliable.

    net use * \storage-account-name.file.core.windows.netshare

After you follow these instructions, you might receive the following error message when you run net use for the system/network service account: «System error 1312 has occurred. A specified logon session does not exist. It may already have been terminated.» If this occurs, make sure that the username that is passed to net use includes domain information (for example: «[storage account name].file.core.windows.net»).

Error «You are copying a file to a destination that does not support encryption»

When a file is copied over the network, the file is decrypted on the source computer, transmitted in plaintext, and re-encrypted at the destination. However, you might see the following error when you’re trying to copy an encrypted file: «You are copying the file to a destination that does not support encryption.»

Cause

This problem can occur if you are using Encrypting File System (EFS). BitLocker-encrypted files can be copied to Azure Files. However, Azure Files does not support NTFS EFS.

Workaround

To copy a file over the network, you must first decrypt it. Use one of the following methods:

  • Use the copy /d command. It allows the encrypted files to be saved as decrypted files at the destination.
  • Set the following registry key:
    • Path = HKLMSoftwarePoliciesMicrosoftWindowsSystem
    • Value type = DWORD
    • Name = CopyFileAllowDecryptedRemoteDestination
    • Value = 1

Be aware that setting the registry key affects all copy operations that are made to network shares.

Need help? Contact support.

If you still need help, contact support to get your problem resolved quickly.

I am having difficulties mapping a network drive in Powershell.  This script is meant to run at Windows Login.  At the beginning of the script I have 

Powershell

Remove-PSDrive -Name "K" -Force

Which removes the previously mapped drive.  Then later in my script, I have the following to map the network drive

Powershell

$pass = Get-Content "C:PACS AdminWorkingAuthABC123.txt" | ConvertTo-SecureString
$cre = new-object -typename System.Management.Automation.PSCredential -argumentlist "ComputerNameUser",$pass
New-PSDrive -Name K -PSProvider FileSystem -Root "ComputerNameFilePath" -Persist -Credential $cre

But the mapped drive does not show in Windows Explorer, and is not accessible by any of the local apps.  Neither the station with the drive i’m mapping to or the station i’m running the script on are on a domain, the firewall on both stations is off, and I can map the drive manually in Windows.  When I do a net use, it does not list the drive, but when I try remapping without removing the mapping it says the drive is in use.

Any thoughts or suggestions?

Using PS 5.1.17763.316 on both stations.

На чтение 8 мин. Просмотров 4.6k. Опубликовано 03.09.2019

Если вы столкнулись с ошибкой 87 , то на вашем компьютере указан неверный параметр, это может быть связано с попыткой копирования огромного файла из одного раздела в другой, что означает максимальный размер файла, который можно сохранить был превышен.

Это сообщение об ошибке также появляется, когда необходимая служба не запущена на вашем компьютере, так что вы не сможете подключиться к сети и, возможно, не сможете установить сетевые адаптеры, таким образом, такие службы, как Plug and Play, диспетчер автоматического подключения удаленного доступа Диспетчер подключений удаленного доступа и телефония.

Ошибка 87 также может произойти при попытке скопировать файлы на сервер SharePoint, но сам файл ограничен.

Другая вероятная причина – аппаратные ошибки и/или ошибки диска или файла, которые повреждены (или чьи данные повреждены).

Существуют различные решения для устранения этой проблемы в зависимости от вашей ситуации, но в основном эта проблема может помочь в проверке возможности перетаскивания для копирования данных или смены устройств путем тестирования на разных дисках.

Однако ошибка 87 имеет тенденцию быть неопределенной, поэтому вы не можете сузить ее до одного решения, но вот некоторые исправления, которые вы можете попробовать.

Содержание

  1. Исправить ошибку 87, параметр неверен
  2. Решение 1. Выполните чистую загрузку
  3. Решение 2: Запустите инструмент DISM
  4. Решение 3. Используйте средство проверки системных файлов для восстановления поврежденных файлов Windows
  5. Решение 4. Запустите средство готовности обновления системы
  6. Решение 5. Использование средства устранения неполадок приложения Windows
  7. Решение 6. Обновите драйвер дисплея
  8. Решение 7. Получите последние версии драйверов и установите их в режиме совместимости
  9. Решение 8. Временно отключите брандмауэры и любое антивирусное или вредоносное ПО

Исправить ошибку 87, параметр неверен

  1. Выполнить чистую загрузку
  2. Использовать проверку системных файлов
  3. Запустить инструмент DISM
  4. Запустите средство готовности обновления системы
  5. Использовать средство устранения неполадок приложения Windows
  6. Обновите драйвер дисплея
  7. Получить последние версии драйверов и установить в режиме совместимости
  8. Отключить антивирус

Решение 1. Выполните чистую загрузку

Чистая загрузка устраняет любые конфликты программного обеспечения, которые могут быть причиной проблемы.

Чтобы успешно выполнить чистую загрузку в Windows 10, вы должны войти в систему как администратор, а затем выполните следующие действия:

  • Перейти к окну поиска
  • Введите msconfig

  • Выберите Конфигурация системы , чтобы открыть окно конфигурации системы.

  • Найдите вкладку Услуги

  • Установите флажок Скрыть все службы Microsoft .

  • Нажмите Отключить все .
  • Перейдите на вкладку Автозагрузка .
  • Нажмите Открыть диспетчер задач .

  • Закройте диспетчер задач и нажмите ОК .
  • Перезагрузите компьютер

У вас будет чистая среда загрузки после выполнения этих шагов. Если вы все еще не можете исправить ошибку 87, параметр неверен, попробуйте следующее решение.

  • ТАКЖЕ ПРОЧИТАЙТЕ: Windows 10 не загружается. Вот как исправить эту проблему навсегда

Решение 2: Запустите инструмент DISM

Средство обслуживания образов развертывания и управления ими (DISM) помогает исправить ошибки повреждения Windows, когда не удается установить обновления Windows и пакеты обновления из-за ошибок повреждения, например, если у вас поврежденный системный файл.

  • Нажмите Пуск .
  • В поле поиска введите CMD .
  • Нажмите Командная строка в списке результатов поиска.

  • Введите Dism/Online/Cleanup-Image/ScanHealth для сканирования отсутствующих компонентов.
  • Введите Dism/Online/Cleanup-Image/CheckHealth , чтобы проверить наличие отсутствующих или поврежденных файлов.
  • Введите Dism/Online/Cleanup-Image/RestoreHealth , чтобы отсканировать и устранить любые причины проблем с рабочим столом Windows 10.
  • Нажмите Enter .

После завершения восстановления перезагрузите компьютер и проверьте, сохраняется ли проблема, после чего вы можете запустить сканирование SFC, как описано в следующем решении.

Примечание: инструмент DISM обычно занимает 15 минут, однако иногда это может занять больше времени. Не отменяйте, когда он работает.

Если запуск инструмента DISM не помогает исправить ошибку 87, параметр неверен, попробуйте следующее решение.

Решение 3. Используйте средство проверки системных файлов для восстановления поврежденных файлов Windows

Сканирование проверки системных файлов проверяет или сканирует все защищенные системные файлы, а затем заменяет неправильные версии подлинными и правильными версиями Microsoft.

Вот как это сделать:

  • Нажмите Пуск .
  • Перейдите в поле поиска и введите CMD .
  • Щелкните правой кнопкой мыши Командная строка и выберите Запуск от имени администратора .

  • Введите sfc/scannow

  • Нажмите Enter .

Перезагрузите компьютер и попробуйте установить обновления снова.

Если использование средства проверки системных файлов не помогает исправить ошибку 87, параметр неверен, попробуйте следующее решение.

Решение 4. Запустите средство готовности обновления системы

Если вы все еще не можете исправить ошибку 80070490 после сканирования SFC, используйте средство готовности обновления системы, чтобы исправить ошибки повреждения Windows, а затем снова установите обновление Windows или пакет обновления.

Этот инструмент используется потому, что в магазине обслуживания Windows обнаружены несоответствия, которые могут помешать успешной установке будущих обновлений, пакетов обновления и программного обеспечения. Он проверяет ваш компьютер на наличие таких несоответствий и пытается решить проблемы, если они найдены.

  • Загрузите Средство готовности обновления системы , нажав ссылку для загрузки, соответствующую версии Windows, установленной на вашем компьютере. Инструмент регулярно обновляется, поэтому всегда загружайте последнюю версию (проверьте, работает ли на вашем компьютере 32- или 64-разрядная версия Windows).
  • Нажмите Загрузить на веб-странице центра загрузки.
  • Установите, нажав Открыть или Запустить , и следуйте инструкциям на экране.
  • В диалоговом окне «Автономный установщик Центра обновления Windows» нажмите кнопку «Да». Инструмент запускается автоматически в течение 15 или более минут, поэтому не нажимайте кнопку «Отмена».
  • Когда появится сообщение Установка завершена , нажмите кнопку Закрыть.
  • Переустановите обновление или пакет обновления, который вы пытались установить ранее

Если запуск средства готовности к обновлению системы не помогает исправить ошибку 87, параметр неверен, попробуйте следующее решение.

  • ТАКЖЕ ЧИТАЙТЕ: как исправить проблемы с производительностью после установки обновлений Patch Tuesday

Решение 5. Использование средства устранения неполадок приложения Windows

Средство устранения неполадок в приложении автоматически исправляет некоторые проблемы, которые могут помешать запуску приложений, в том числе неверные параметры безопасности или настройки учетной записи.

  • Нажмите правой кнопкой мыши Пуск .
  • Выберите Панель управления .

  • Перейдите в верхний правый угол и измените параметр Просмотр по на Большие значки .

  • Нажмите Устранение неполадок .

  • Нажмите Просмотреть все на левой панели.

  • Выберите Центр обновления Windows .

  • Следуйте инструкциям, чтобы запустить приложение устранения неполадок

Помогает ли это исправить ошибку 87? Неправильный ли параметр?

Решение 6. Обновите драйвер дисплея

Иногда ошибка 87 может быть результатом драйверов вашего адаптера дисплея, поэтому вы можете использовать приведенные ниже шаги для обновления драйвера дисплея и посмотреть, поможет ли это:

  • Нажмите правой кнопкой мыши Пуск .
  • Выберите Диспетчер устройств .

  • Найдите Адаптеры дисплея

  • Нажмите Адаптеры дисплея , чтобы развернуть список адаптеров.
  • Щелкните правой кнопкой мыши на адаптере дисплея в списке
  • Нажмите Обновить программное обеспечение драйвера .
  • Выберите автоматический поиск обновленного программного обеспечения драйвера .
  • Перезагрузите компьютер

Вы также можете проверить веб-сайт производителя вашего компьютера, загрузить последние версии драйверов для вашего компьютера и установить их.

Обновлять драйверы автоматически

Если загрузка драйверов с веб-сайта производителя не является решением, которое вам помогло, мы настоятельно рекомендуем использовать инструмент Tweakbit Driver Updater . Этот инструмент одобрен Microsoft и Norton Antivirus. После нескольких испытаний наша команда пришла к выводу, что это лучшее автоматизированное решение. Ниже вы можете найти краткое руководство, как это сделать.

    1. Загрузите и установите средство обновления драйверов TweakBit
    2. После установки программа автоматически начнет сканирование вашего компьютера на наличие устаревших драйверов. Driver Updater проверит установленные вами версии драйверов по своей облачной базе данных последних версий и порекомендует правильные обновления. Все, что вам нужно сделать, это дождаться завершения сканирования.

По завершении сканирования вы получите отчет обо всех проблемных драйверах, найденных на вашем ПК. Просмотрите список и посмотрите, хотите ли вы обновить каждый драйвер по отдельности или все сразу. Чтобы обновить один драйвер за раз, нажмите ссылку «Обновить драйвер» рядом с именем драйвера.Или просто нажмите кнопку «Обновить все» внизу, чтобы автоматически установить все рекомендуемые обновления.

Примечание. Некоторые драйверы необходимо установить в несколько этапов, поэтому вам придется нажмите кнопку «Обновить» несколько раз, пока все его компоненты не будут установлены.

Решение 7. Получите последние версии драйверов и установите их в режиме совместимости

Вы можете перейти на веб-сайт производителя видеокарты и найти последние версии драйверов, доступные для вашей конкретной модели, а затем установить их, следуя инструкциям на веб-сайте.

Для установки в режиме совместимости выполните следующие действия:

  • Загрузите последнюю версию драйвера с сайта производителя.
  • Сохраните его на локальном диске
  • Щелкните правой кнопкой мыши на файле настройки драйвера
  • Нажмите Свойства .
  • Нажмите вкладку “Совместимость” .
  • Установите флажок Запустить эту программу в режиме совместимости .
  • Выберите Операционную систему в раскрывающемся списке.
  • Драйвер установится, затем проверит его работоспособность.
  • Перезагрузите компьютер и проверьте, сохраняется ли проблема

Решение 8. Временно отключите брандмауэры и любое антивирусное или вредоносное ПО

Иногда наличие нескольких брандмауэров, антивирусных или вредоносных программ может иногда мешать вам выполнять определенные задачи или запускать процессы на вашем компьютере.

Если это является причиной проблемы, временно отключите любой из трех, а затем попробуйте войти снова.

Обязательно включите эти программы сразу же после того, как вы это сделаете, чтобы хакеры, вирусы и черви не повредили вашу систему.

Помогло ли какое-либо из этих решений исправить ошибку 87? Неправильный ли для вас параметр? Поделитесь с нами своим опытом, оставив комментарий в разделе ниже.

To create Virtual Switch on Windows Server 2016 I followed following steps and I got error as follows but not able to create Switch. Please help me. thanks in advance

Environment Details: Azure VM – for details see attachment

Step 1. Create VM Switch  à result Successful

                Command :

PS C:Windowssystem32> New-VMSwitch -Name «NAT» -SwitchType NAT -NATSubnetAddress «172.16.0.0/12»

Step2. Create the Network Address Translation Object
à
fail  due to following error

                Command:

PS C:Windowssystem32>
New-NetNat -Name NAT -InternalIPInterfaceAddressPrefix «172.16.0.0/12»

            Error:

New-NetNat : The parameter is incorrect.

At line:1 char:1

+ New-NetNat -Name NAT -InternalIPInterfaceAddressPrefix «172.16.0.0/12 …

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidArgument: (MSFT_NetNat:root/StandardCimv2/MSFT_NetNat) [New-NetNat],
CimException

    + FullyQualifiedErrorId : Windows System Error 87,New-NetNat

Step3: Port Mapping
àFail due to step2 fails

                Command:

PS C:Windowssystem32>
Add-NetNatStaticMapping -NatName «Nat» -Protocol TCP -ExternalIPAddress 0.0.0.0 -InternalIPAddre

Error:

ss 172.16.0.2 -InternalPort 80 -ExternalPort 80

Add-NetNatStaticMapping : Instance Nat Nat not found

At line:1 char:1

+ Add-NetNatStaticMapping -NatName «Nat» -Protocol TCP -ExternalIPAddre …

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (MSFT_NetNatStaticMapping:root/StandardCi…atStaticMapping)
[Add-NetNat

   StaticMapping], CimException

    + FullyQualifiedErrorId : Windows System Error 1168,Add-NetNatStaticMapping

Image:Showing Azure VM Details

Как исправить ошибку 87 в DISMИспользуя DISM в командной строке для проверки хранилища компонентов Windows или других целей, некоторые пользователи могут столкнуться с ошибкой 87: «Неизвестный параметр» или «Параметр не распознан в этом контексте».

В этой инструкции подробно о причинах ошибки 87 в командной строке при использовании DISM в Windows 11, Windows 10 и 7 и о возможных способах её исправления.

Проверьте правильность ввода команды DISM

Самая распространенная причина ошибки 87, особенно если речь идёт не о старых ОС, а о Windows 11 и Windows 10 — синтаксические ошибки при вводе команды.

Ошибка 87 в командной строке при использовании DISM и синтаксических ошибках

Чаще всего это бывают следующие варианты ошибок:

  1. Отсутствие пробелов перед знаком «/» в указанных параметрах команды DISM.
  2. Неправильный порядок указания параметров (например, если изменить порядок параметров checkhealth и cleanup-image, вы получите указанную ошибку).
  3. Также русскоязычные пользователи, случается, путают латинские буквы C и S, U и Y.

Даже если вы копируете команду с какого-то сайта, следует учитывать, что ошибки могут быть и там — опечатки, копирование кода с ошибками, никто от этого не застрахован.

Версия DISM

Версии DISM и набор поддерживаемых команд отличаются. Не все команды, которые работают в DISM из Windows 11/10 будут работать в Windows 7 и 8.1. К примеру, если в современной ОС с DISM 10-й версии использовать команду

DISM /online /cleanup-image /checkhealth

она будет исправно работать.

Если ту же команду ввести в Windows 7, с DISM версии 6.1, результатом будет ошибка 87:

Ошибка 87 в DISM старой версии

Возможные варианты решения:

  • Не использовать неподдерживаемые команды, если они не критичны для получения нужного результата.
  • Установить последнюю версию DISM, это можно сделать даже в старой версии системы, что будет рассмотрено далее.

Установка последней версии DISM в Windows старых версий

При необходимости использовать последнюю версию DISM в предыдущей версии Windows, вы можете скачать и установить Windows ADK (Комплект средств для развертывания и оценки Windows) нужной версии (например, мы можем установить ADK для Windows 10 в Windows 7) и выбрать пункт «средства развертывания» при установке:

Установить Windows ADK и последнюю версию DISM

Установщики последних версий Windows ADK доступны на официальной странице https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install при этом следует учитывать:

  • Для установки последних версий требуется наличие .NET Framework 5 на компьютере.
  • Это онлайн-установщики и загрузка необходимых компонентов из РФ без VPN не работает.
  • Новая версия DISM не заменяет имеющуюся, а устанавливается отдельно, по умолчанию — в папке C:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsamd64DISM и потребуется запускать её из этого расположения, либо добавлять в переменные среды.

Если ошибка сохраняется, можно учесть следующие нюансы и попробовать некоторые дополнительные варианты действий:

  1. Для работы некоторых параметров DISM, например, /spsuperseded требуется, чтобы служба «Установщик модулей Windows» была включена. Включить службу можно в Win+Rservices.msc. Находим «Установщик модулей Windows» в списке, дважды нажимаем по службе и устанавливаем тип запуска «Вручную» — значение по умолчанию для этой службы.
  2. Выполнить проверку целостности системных файлов с помощью команды sfc /scannow
  3. Если ранее ошибка не возникала, попробовать использовать точки восстановления системы.
  4. Если есть обновления Windows — попробуйте установить их, однажды в очередном обновлении Windows 10 ошибка 87 была вызвана проблемами в самом обновлении и уже в следующем она была исправлена.

Если проблема сохраняется, опишите в комментариях, при каких обстоятельствах она возникает, а также укажите версию Windows, DISM (отображается после запуска команды), какую именно команду вы пробуете ввести — я постараюсь помочь.

Внутри утилиты «Блокнот» вставьте следующий код:

 Редактор реестра Windows версии 5.00 [HKEY_LOCAL_MACHINE  SYSTEM  CurrentControlSet  Services  wuauserv] "PreshutdownTimeout" = dword: 036ee800 "DisplayName" = "@% systemroot%  system32  wuaueng.dll,  -105 "" ErrorControl "= dword: 00000001" ImagePath "= hex (2): 25,00,73,00,79,00,73,00,74,00,65,00,6d, 00,72,00  , 6f, 00,6f, 00,  74,00,25,00,5c, 00,73,00,79,00,73,00,74,00,65,00,6d, 00,33,00,  32,00,5c, 00,73,  00,76,00,63,00,68,00,6f, 00,73,00,74,00,2e, 00,65,00,78,00,65  , 00,20,00,2d, 00,  6b, 00,20,00,6e, 00,65,00,74,00,73,00,76,00,63,00,73,00,00,  00 "Start" = dword: 00000003 "Type" = dword: 00000020 "Description" = "@% systemroot%  system32  wuaueng. dll, -106 "" DependOnService "= hex (7): 72,00,70,00,63,00,73,00,73,00,00,00,00,00« ObjectName »=« LocalSystem »« ServiceSidType  "= dword: 00000001" RequiredPrivileges "= hex (7): 53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,  00  , 69,00,76,00,69,00,6c, 00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,   65,00,61,00,74,00,65,00,47,00,6c, 00,6f, 00,62,00,61,00,6c, 00,50,00,72,00,69,   00,76,00,69,00,6c, 00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00  ,  61,00,74,00,65,00,50,00,61,00,67,00,65,00,46,00,69,00,6c, 00,65,00,50,00,  72,  00,69,00,76,00,69,00,6c, 00,65,00,67,00,65,00,00,00,53,00,65,00,54,00,63  , 00,  62,00,50,00,72,00,69,00,76,00,69,00,6c, 00,65,00,67,00,65,00,00,00,53,  00,65,  00,41,00,73,00,73,00,69,00,67,00,6e, 00,50,00,72,00,69,00,6d, 00,61,00  , 72,00,  79,00,54,00,6f, 00,6b, 00,65,00,6e, 00,50,00,72,00,69,00,76,00,69,00,  6c, 00,65,  00,67,00,65,00,00,00,53,00,65,00,49,00,6d, 00,70,00,65,00,72,00,73  , 00,6f, 00,  6e, 00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c, 00,65,  00,67,00,65,  00,00,00,53,00,65,00,49,00,6  e, 00,63,00,72,00,65,00,61,00,73,00,65,00,51,00,  75,00,6f, 00,74,00,61,00,50  , 00,72,00,69,00,76,00,69,00,6c, 00,65,00,67,00,65,  00,00,00,53,00,65,00,53,  00,68,00,75,00,74,00,64,00,6f, 00,77,00,6e, 00,50,00,  72,00,69,00,76,00,69,00  , 6c, 00,65,00,67,00,65,00,00,00,00,00 «FailureActions» = шестнадцатеричный: 80,51,01,00,00,00,00,00,00,00,  00,00,03,00,00,00,14,00,00,  00,01,00,00,00,60, шт., 00,00,00,00,00,00,00,00,00  , 00,00,00,00,00,00,00,00,00 [HKEY_LOCAL_MACHINE  SYSTEM  CurrentControlSet  Services  wuauserv  Parameters] «ServiceDll» = шестнадцатеричный (2): 25,00,73,00,79,  00,73,00,74,00,65,00,6d, 00,72,00,6f, 00,6f,  00,74,00,25,00,5c, 00,73,00,79,00  , 73,00,74,00,65,00,6d, 00,33,00,32,00,5c, 00,  77,00,75,00,61,00,75,00,65,00,  6e, 00,67,00,2e, 00,64,00,6c, 00,6c, 00,00,00 "ServiceDllUnloadOnStop" = dword: 00000001 "ServiceMain" = "WUServiceMain" [HKEY_LOCAL_MACHINE  SYSTEM  CurrentControlSet  Services   wuauserv  Security] "Безопасность" = шестнадцатеричное: 01,00,14,80,78,00,00,00,84,00,00,00,14,00,00,00,30,00,00,00,  02,  00,1c, 00,01,00,00,00,02,80,14,00, ff, 00,0f, 00,01,01,00,00,00,00,00,01,0  0,00,  00,00,02,00,48,00,03,00,00,00,00,00,14,00,9д, 00,02,00,01,01,00,00,00  , 00,00,  05,0b, 00,00,00,00,00,18,00, ff, 01,0f, 00,01,02,00,00,00,00,00,05,20,  00,00,00,  20,02,00,00,00,00,14,00, ff, 01,0f, 00,01,01,00,00,00,00,00,05,12,00  , 00,00,01,  01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,  00,00 [HKEY_LOCAL_MACHINE  SYSTEM  CurrentControlSet  Services  wuauserv  TriggerInfo] [HKEY_LOCAL_MACHINE  SYSTEM  CurrentControlSet  Services  wuauserv  TriggerInfo  0] "Тип" = dword: 00000005 "Action" = dwordid: 00000001 "Guid  : e6, ca, 9f, 65, db, 5b, a9,4d, b1, ff, ca, 2a, 17,8d, 46, e0 [HKEY_LOCAL_MACHINE  SYSTEM  CurrentControlSet  Services  wuauserv  TriggerInfo  1] "Тип"  = dword: 00000005 "Action" = dword: 00000001 "Guid" = hex: c8,46, fb, 54,89, f0,4c, 46, b1, fd, 59, d1, b6,2c, 3b, 50 

Понравилась статья? Поделить с друзьями:
  • Windows system error 1332 new smbshare
  • Windows system error 1243 set smbserverconfiguration
  • Windows system control center что это за программа
  • Windows system control center на русском скачать
  • Windows system assessment tool windows 10 что это