Cannot find the Windows PowerShell data file 'ImportExportIscsiTargetConfiguration.psd1' in directory 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\IscsiTarget\en-GB\', or any parent culture directories
This post describes how to fix the error:
Cannot find the Windows PowerShell data file 'ImportExportIscsiTargetConfiguration.psd1' in directory 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\IscsiTarget\en-GB\', or any parent culture directories.
This error can occur when creating a new iSCSI Virtual Disk in Server Manager on Windows.
Cause
This is caused by server localization. In my case, the server was installed as English (United States) but later changed to English (United Kingdom). The error occurs because the en-GB directory does not exist in the 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\IscsiTarget' directory.
Resolution
I resolved the issue by renaming the existing 'en-US' folder in the 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\IscsiTarget' directory to 'en-GB'.
Alternatively, you can go to your Region > Administrative settings in the Control Panel, press Copy settings.
Then tick 'Welcome screen and system accounts' and 'New user accounts' and press OK.
Comments
Post a Comment