Avatar billede hansa1 Juniormester
07. november 2019 - 22:58 Der er 12 kommentarer

Kan ikke opdaterer 1903

Har en ældre bærbar som er opdateret fra W7 til W10 da det var muligt.
MEN nu kan jeg ikke opdaterer den sidste opdatering.
Den kører i flere timer men kommer med det resultat at den ikke kan anvendes og gør tilbage til nuværende version.
Hvor meget plads/ram kræves til W10 nu?
Håber i kan hjælpe-
Avatar billede poko1 Ekspert
07. november 2019 - 23:28 #1
Hej
Du Kan  prøve at trykke på Windowstasten + X og vælg Windows PowerShell (Admin)
Her indsætter du følgende. DISM.exe /Online /Cleanup-image /Checkhealth tryk ok
Derefter:  indsætter du følgende. Dism.exe /Online /Cleanup-Image /Scanhealth tryk ok
Herefter:  indsætter du følgende. DISM.exe /Online /Cleanup-image /Restorehealth  tryk ok
Skriv sfc /scannow  tryk ok husk mellemrum c - / eller kopier kommandoerne og sæt dem ind.

https://ibb.co/dPzrNwv

kør derpå Update Trouble shotter
https://aka.ms/wudiag
Avatar billede posten Ekspert
08. november 2019 - 07:41 #2
du kan jo prøve at hente den manualt hent denne først : https://support.microsoft.com/help/4512941 og derefter din 1903 : https://support.microsoft.com/da-dk/help/4500109
hører gerne om det virker
Avatar billede 220661 Ekspert
09. november 2019 - 08:00 #3
Som poko1 er inde påså er der noget kludder i din Windows update. den vejledning han giver her løser rigtig mange af de problemer, så det ville også være min fremgangsmåde hvis jeg selv kom i samme problem. :-)
Avatar billede hansa1 Juniormester
09. november 2019 - 12:53 #4
Hej igen. Nu har jeg prøvet at køre dine anvisninger, men den kommer og siger at der er fejl. Er det mig der gør noget forkert?

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\WINDOWS\system32> DISMexe/online/Cleanup-image
DISMexe/online/Cleanup-image : The term 'DISMexe/online/Cleanup-image' is not recognized as the name of a cmdlet, funct
ion, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1
+ DISMexe/online/Cleanup-image
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISMexe/online/Cleanup-image:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Cheakhealth
DISM.exe/online/Cleanup-image/Cheakhealth : The term 'DISM.exe/online/Cleanup-image/Cheakhealth' is not recognized as t
he name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was inclu
ded, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Cheakhealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Cheakhealth:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online/Cleanup-image/Checkhealth' is not recognized as t
he name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was inclu
ded, verify that the path is correct and try again.
PS C:\WINDOWS\system32> PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
Get-Process : A positional parameter cannot be found that accepts argument 'DISM.exe/online/Cleanup-image/Checkhea
lth'.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:1fo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcepti
+ PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Process], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online/Cleanup-image/Checkhealth' is not recognized as t
DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/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 a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcep
  tion
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> he name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was inclu
he : The term 'he' is not recognized as the name of a cmdlet, function, script file, or operable program. Check th
e spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ he name of a cmdlet, function, script file, or operable program. Chec ...
+ ~~
    + CategoryInfo          : ObjectNotFound: (he:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> ded, verify that the path is correct and try again.
At line:1 char:4
+ ded, verify that the path is correct and try again.
+    ~
Missing argument in parameter list.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingArgument

PS C:\WINDOWS\system32> At line:1 char:1
The AT command has been deprecated. Please use schtasks.exe instead.

Invalid command.

The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername    Specifies a remote computer. Commands are scheduled on the
                  local computer if this parameter is omitted.
id                Is an identification number assigned to a scheduled
                  command.
/delete            Cancels a scheduled command. If id is omitted, all the
                  scheduled commands on the computer are canceled.
/yes              Used with cancel all jobs command when no further
                  confirmation is desired.
time              Specifies the time when command is to run.
/interactive      Allows the job to interact with the desktop of the user
                  who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                  month. If date is omitted, the current day of the month
                  is assumed.
/next:date[,...]  Runs the specified command on the next occurrence of the
                  day (for example, next Thursday).  If date is omitted, the
                  current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

PS C:\WINDOWS\system32> + DISM.exe/online/Cleanup-image/Checkhealth
At line:1 char:2
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'DISM.exe/online/Cleanup-image/Checkhealth' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:2
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32>    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundException
At line:1 char:6
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~
Missing expression after unary operator '+'.
At line:1 char:7
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~~~~~~~~~~~~
Unexpected token 'CategoryInfo' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
Get-Process : A positional parameter cannot be found that accepts argument 'DISM.exe/online/Cleanup-image/Checkhea
lth'.
At line:1 char:1
+ PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Process], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online/Cleanup-image/Checkhealth' is not recognized as t
DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/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 a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcep
  tion
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> he name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was inclu
he : The term 'he' is not recognized as the name of a cmdlet, function, script file, or operable program. Check th
e spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ he name of a cmdlet, function, script file, or operable program. Chec ...
+ ~~
    + CategoryInfo          : ObjectNotFound: (he:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> ded, verify that the path is correct and try again.
At line:1 char:4
+ ded, verify that the path is correct and try again.
+    ~
Missing argument in parameter list.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingArgument

PS C:\WINDOWS\system32> At line:1 char:1
The AT command has been deprecated. Please use schtasks.exe instead.

Invalid command.

The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername    Specifies a remote computer. Commands are scheduled on the
                  local computer if this parameter is omitted.
id                Is an identification number assigned to a scheduled
                  command.
/delete            Cancels a scheduled command. If id is omitted, all the
                  scheduled commands on the computer are canceled.
/yes              Used with cancel all jobs command when no further
                  confirmation is desired.
time              Specifies the time when command is to run.
/interactive      Allows the job to interact with the desktop of the user
                  who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                  month. If date is omitted, the current day of the month
                  is assumed.
/next:date[,...]  Runs the specified command on the next occurrence of the
                  day (for example, next Thursday).  If date is omitted, the
                  current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

PS C:\WINDOWS\system32> + DISM.exe/online/Cleanup-image/Checkhealth
At line:1 char:2
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'DISM.exe/online/Cleanup-image/Checkhealth' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:2
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32>    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundException
At line:1 char:6
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~
Missing expression after unary operator '+'.
At line:1 char:7
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~~~~~~~~~~~~
Unexpected token 'CategoryInfo' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/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 a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Checkhealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcep
  tion
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Scanhealth
DISM.exe/online/Cleanup-image/Scanhealth : The term 'DISM.exe/online/Cleanup-image/Scanhealth' is not recognized a
s the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path w
as included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Scanhealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online/Cleanup-image/Scanhealth:String) [], CommandNotFou
  ndException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> DISM.exe/Online/Cleanup-image/Restorehealth
DISM.exe/Online/Cleanup-image/Restorehealth : The term 'DISM.exe/Online/Cleanup-image/Restorehealth' is not recogn
ized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/Online/Cleanup-image/Restorehealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/Online...e/Restorehealth:String) [], CommandNotFoundExcep
  tion
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
Get-Process : A positional parameter cannot be found that accepts argument 'DISM.exe/online/Cleanup-image/Checkhea
lth'.
At line:1 char:1
+ PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Process], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online/Cleanup-image/Checkhealth' is not recognized as t
DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/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 a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcep
  tion
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> he name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was inclu
he : The term 'he' is not recognized as the name of a cmdlet, function, script file, or operable program. Check th
e spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ he name of a cmdlet, function, script file, or operable program. Chec ...
+ ~~
    + CategoryInfo          : ObjectNotFound: (he:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> ded, verify that the path is correct and try again.
At line:1 char:4
+ ded, verify that the path is correct and try again.
+    ~
Missing argument in parameter list.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingArgument

PS C:\WINDOWS\system32> At line:1 char:1
The AT command has been deprecated. Please use schtasks.exe instead.

Invalid command.

The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername    Specifies a remote computer. Commands are scheduled on the
                  local computer if this parameter is omitted.
id                Is an identification number assigned to a scheduled
                  command.
/delete            Cancels a scheduled command. If id is omitted, all the
                  scheduled commands on the computer are canceled.
/yes              Used with cancel all jobs command when no further
                  confirmation is desired.
time              Specifies the time when command is to run.
/interactive      Allows the job to interact with the desktop of the user
                  who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                  month. If date is omitted, the current day of the month
                  is assumed.
/next:date[,...]  Runs the specified command on the next occurrence of the
                  day (for example, next Thursday).  If date is omitted, the
                  current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

PS C:\WINDOWS\system32> + DISM.exe/online/Cleanup-image/Checkhealth
At line:1 char:2
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'DISM.exe/online/Cleanup-image/Checkhealth' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:2
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32>    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundException
At line:1 char:6
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~
Missing expression after unary operator '+'.
At line:1 char:7
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~~~~~~~~~~~~
Unexpected token 'CategoryInfo' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth
DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/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 a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Checkhealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcep
  tion
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online/Cleanup-image/Checkhealth' is not recognized
DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/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 a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ DISM.exe/online/Cleanup-image/Checkhealth : The term 'DISM.exe/online ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcep
  tion
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32>  as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
as : The term 'as' is not recognized as the name of a cmdlet, function, script file, or operable program. Check th
e spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+  as the name of a cmdlet, function, script file, or operable program. ...
+  ~~
    + CategoryInfo          : ObjectNotFound: (as:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32>  was included, verify that the path is correct and try again.
was : The term 'was' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+  was included, verify that the path is correct and try again.
+  ~~~
    + CategoryInfo          : ObjectNotFound: (was:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> At line:1 char:1
The AT command has been deprecated. Please use schtasks.exe instead.

Invalid command.

The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername    Specifies a remote computer. Commands are scheduled on the
                  local computer if this parameter is omitted.
id                Is an identification number assigned to a scheduled
                  command.
/delete            Cancels a scheduled command. If id is omitted, all the
                  scheduled commands on the computer are canceled.
/yes              Used with cancel all jobs command when no further
                  confirmation is desired.
time              Specifies the time when command is to run.
/interactive      Allows the job to interact with the desktop of the user
                  who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                  month. If date is omitted, the current day of the month
                  is assumed.
/next:date[,...]  Runs the specified command on the next occurrence of the
                  day (for example, next Thursday).  If date is omitted, the
                  current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

PS C:\WINDOWS\system32> + DISM.exe/online/Cleanup-image/Checkhealth
At line:1 char:2
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + DISM.exe/online/Cleanup-image/Checkhealth
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'DISM.exe/online/Cleanup-image/Checkhealth' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:2
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~
Missing expression after unary operator '+'.
At line:1 char:3
+ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32>    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/Checkhealth:String) [], CommandNotFoundExcep
At line:1 char:6
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~
Missing expression after unary operator '+'.
At line:1 char:7
+    + CategoryInfo          : ObjectNotFound: (DISM.exe/online...age/ ...
+      ~~~~~~~~~~~~
Unexpected token 'CategoryInfo' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32>    tion
tion : The term 'tion' is not recognized as the name of a cmdlet, function, script file, or operable program. Chec
k the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:4
+    tion
+    ~~~~
    + CategoryInfo          : ObjectNotFound: (tion:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32>    + FullyQualifiedErrorId : CommandNotFoundException
At line:1 char:6
+    + FullyQualifiedErrorId : CommandNotFoundException
+      ~
Missing expression after unary operator '+'.
At line:1 char:7
+    + FullyQualifiedErrorId : CommandNotFoundException
+      ~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'FullyQualifiedErrorId' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

PS C:\WINDOWS\system32>
Avatar billede 220661 Ekspert
09. november 2019 - 12:58 #5
Kører du Powershell som administrator?
Avatar billede poko1 Ekspert
09. november 2019 - 12:59 #6
Du glemmer mellemrum før  / kopier en linje af gangen og sæt dem ind
Du Kan  prøve at trykke på Windowstasten + X og vælg Windows PowerShell (Admin)
Her indsætter du følgende.
DISM.exe /Online /Cleanup-image /Checkhealth
Dism.exe /Online /Cleanup-Image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow 
Kopier kommandoerne og sæt dem ind. Tryk ok efter hver
Avatar billede 220661 Ekspert
09. november 2019 - 13:02 #7
Når Powershell kører som admin bør der stå følgende i nederste linje:

PS C:\WINDOWS\system32>

Der skal ikke stå noget med brugernavn da man ikke kan være sikker på at have de fulde rettigheder i brugerprofilen i forhold til administrator.
Avatar billede hansa1 Juniormester
09. november 2019 - 13:21 #8
Hej Har prøvet igen som du/I kan se.
Den er stoppet der uden nyt linie.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\WINDOWS\system32> DISM.exe /Online /Cleanup-image /Checkhealth

Deployment Image Servicing and Management tool
Version: 10.0.17763.771

Image Version: 10.0.17763.805

No component store corruption detected.
The operation completed successfully.
PS C:\WINDOWS\system32> Dism.exe /Online /Cleanup-Image /Scanhealth

Deployment Image Servicing and Management tool
Version: 10.0.17763.771

Image Version: 10.0.17763.805
Avatar billede posten Ekspert
09. november 2019 - 13:30 #9
hansa1 : hvis du tar og klikker på de opdateringer der ER  langt ind får du at vide hvilke der er problemer med dem kan du hente enkeltvis og lægge dem ind
Avatar billede poko1 Ekspert
09. november 2019 - 13:32 #10
nu ser jeg ikke betegnelsen  "Administrator"  før Windows PowerShell
og når der står
Deployment Image Servicing and Management tool
Version: 10.0.17763.771
Image Version: 10.0.17763.805
Går der lidt tid inden den kører videre
med [----------000.0 %-------]
Ting tar tid
Avatar billede hansa1 Juniormester
09. november 2019 - 15:05 #11
Så er den færdig, men den fandt ingen fejl.
Vil prøve at opdaterer igen.
Mange tak for jeres inputs/vejledninger.
Avatar billede poko1 Ekspert
09. november 2019 - 15:07 #12
Huskede du denne her
kør derpå Update Trouble shotter
https://aka.ms/wudiag
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester