Thanks I understand now :)
Boot into the Windows RE mode:
How to use the Windows 8 System Recovery Environment Command Prompt
Once the command Window is displayed please follow the below steps.
First command to enter is
wmic logicaldisk get name. you will be given a similar output to:
Code:
X:\Sources>wmic logicaldisk get name
Name
C:
D:
E:
X:
Now when you are in the RE the drive letters will often move around. start with the first letter that was provided in the list and enter in the following command (for this example we will use C:\ as it is the first one)
dir C:\
-This will display all the folders in the root drive of C
Can you see a folder called C:\Windows in list?
-If you can see C:\Windows then run the DISM command as
DISM /Image:C:\ /Cleanup-Image /RevertPendingActions
If you can not see the Windows folder move onto the next Drive letter that we obtained with
wmic logicaldisk get name and type in
dir <DRIVE LETTER> (replace <DRIVE LETTER> with the drive you would like to check), can you see the Windows Folder?
-If yes, enter in the following command
DISM /Image:C:\ /Cleanup-Image /RevertPendingActions and changed the C to what ever Drive letter has the Windows folder
Its just a case of going through each drive letter that was produced from the first list until the Windows folder is found then run the DISM command on that drive.
If you are prompted for a Scratch Directory please run the following:
mkdir C:\Scratch
DISM /Image:C:\ /ScratchDir:C:\Scratch /Cleanup-Image /RevertPendingActions
-Remember the drive letter in red needs to be changed like before.