Windows 10: When opening a powershell session I get the following errors about TypeData

Discus and support When opening a powershell session I get the following errors about TypeData in Windows 10 Gaming to solve the problem; Host is Windows Server 2012 R2 running powershell 5.1When opening powershell I get the following errors, as well as when I try to run a powershell... Discussion in 'Windows 10 Gaming' started by Jay Stowell, Jan 19, 2023.

  1. When opening a powershell session I get the following errors about TypeData


    Host is Windows Server 2012 R2 running powershell 5.1When opening powershell I get the following errors, as well as when I try to run a powershell script;The following error occurred while loading the extended type data file: Error in TypeData "System.IO.FileInfo": The CodeProperty should have a getter or setter. Error in TypeData "System.IO.FileInfo": The CodeProperty should have a getter or setter. Error in TypeData "System.IO.DirectoryInfo": The CodeProperty should have a getter or setter. Error in TypeData "System.IO.DirectoryInfo": The CodeProperty should have a getter or setter. I am not

    :)
     
    Jay Stowell, Jan 19, 2023
    #1
  2. ddelo Win User

    Difficulty in Powershell and following the instructions herein

    The problem seems to be a “file not found” one.

    So, please follow these steps:
    1. Download the .ps1 file from here and save it any place you want.
    2. Go to the folder you saved it, right click on the file, unblock it and then copy it [Ctrl-C]. If it’s saved in your Downloads folder, skip step 3
    3. Then go to your Downloads folder and paste it [Ctrl-V] there.
    4. Open Powershell as Administrator.
    5. Type the command Set-ExecutionPolicy Bypass -Scope Process -Force
    6. Type the command cd $env:USERPROFILE\Downloads
    7. Type the command .\RealtekAudioDriverIntegration.ps1

    If everything fails, do the following:

    1. Download the .ps1 file from here and save it any place you want in your C: drive.
    2. Open Powershell as Administrator.
    3. Type the command Set-ExecutionPolicy Bypass -Scope Process -Force
    4. Type the command dir C:\ "RealtekAudioDriverIntegration.ps1" -Recurse -ea 0 | Unblock-File
    5. Type the command dir C:\ "RealtekAudioDriverIntegration.ps1" -Recurse -ea 0 | select -First 1 | % { & $_.FullName }
    Then post the results here.
     
    ddelo, Jan 19, 2023
    #2
  3. Drone Win User
    Drone, Jan 19, 2023
    #3
  4. Brink Win User

    When opening a powershell session I get the following errors about TypeData

    Mail app will not open on 10041.

    Hello Adam,

    This is the suggested solution below if you haven't already tried it. When opening a powershell session I get the following errors about TypeData :)

    In this Windows 10 build 10041, the Mail, Calendar, and People apps may be broken due to a licensing issue with the Store Beta. To get these apps working again, you need to follow these steps:

    • Open powershell as administrator
    • Run the command Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowscommunicationsapps*”} | remove-appxprovisionedpackage –online
    • Re-install Mail, People and Calendar from the Store (green tile)
     
    Brink, Jan 19, 2023
    #4
Thema:

When opening a powershell session I get the following errors about TypeData

Loading...
  1. When opening a powershell session I get the following errors about TypeData - Similar Threads - opening powershell session

  2. When i try to open Valorant I get an error that says: "The following componentss are...

    in Windows 10 Gaming
    When i try to open Valorant I get an error that says: "The following componentss are...: When i try to open Valorant I get an error that says: "The following componentss are required to run this program: DirectX Runtime" https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-open-valorant-i-get-an-error-that/513f2ddf-1e88-4afc-9623-e660a52cf1b5
  3. When i try to open Valorant I get an error that says: "The following componentss are...

    in Windows 10 Software and Apps
    When i try to open Valorant I get an error that says: "The following componentss are...: When i try to open Valorant I get an error that says: "The following componentss are required to run this program: DirectX Runtime" https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-open-valorant-i-get-an-error-that/513f2ddf-1e88-4afc-9623-e660a52cf1b5
  4. When i try to open Valorant I get an error that says: "The following componentss are...

    in Windows 10 BSOD Crashes and Debugging
    When i try to open Valorant I get an error that says: "The following componentss are...: When i try to open Valorant I get an error that says: "The following componentss are required to run this program: DirectX Runtime" https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-open-valorant-i-get-an-error-that/513f2ddf-1e88-4afc-9623-e660a52cf1b5
  5. When i try to open Valorant I get an error that says: "The following componentss are...

    in Windows 10 Gaming
    When i try to open Valorant I get an error that says: "The following componentss are...: i a not able to open up valorant https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-open-valorant-i-get-an-error-that/b6a3b886-94f2-42b4-9234-76f6eaac1030
  6. When i try to open Valorant I get an error that says: "The following componentss are...

    in Windows 10 Software and Apps
    When i try to open Valorant I get an error that says: "The following componentss are...: i a not able to open up valorant https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-open-valorant-i-get-an-error-that/b6a3b886-94f2-42b4-9234-76f6eaac1030
  7. When I run powershell as an admin I'm getting the following when running commands.

    in Windows 10 Gaming
    When I run powershell as an admin I'm getting the following when running commands.: PS C:\windows\system32> dism/online/cleanup-image/checkhealth dism/online/cleanup-image/checkhealth : The term 'dism/online/cleanup-image/checkhealth' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if...
  8. When I run powershell as an admin I'm getting the following when running commands.

    in Windows 10 Software and Apps
    When I run powershell as an admin I'm getting the following when running commands.: PS C:\windows\system32> dism/online/cleanup-image/checkhealth dism/online/cleanup-image/checkhealth : The term 'dism/online/cleanup-image/checkhealth' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if...
  9. When i try to open Valorant I get an error that says: "The following componentss are...

    in Windows 10 BSOD Crashes and Debugging
    When i try to open Valorant I get an error that says: "The following componentss are...: When i try to open Valorant I get an error that says: "The following componentss are required to run this program: DirectX Runtime". https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-open-valorant-i-get-an-error-that/5c6797a2-d6bb-4981-b797-35fd5403cd8f
  10. When opening a powershell session I get the following errors about TypeData

    in Windows 10 Software and Apps
    When opening a powershell session I get the following errors about TypeData: Host is Windows Server 2012 R2 running powershell 5.1When opening powershell I get the following errors, as well as when I try to run a powershell script;The following error occurred while loading the extended type data file: Error in TypeData "System.IO.FileInfo": The...