I can not import.
msg I getting is like ".....error accessing the registry"
That means a permissions issue. Doing every key manually is going to take an age, so let's hope we can get away with just doing top level parent for the time being. We should be able to get away with it, as in theory, all CBS key permissions inherit from CBS key itself.
Please click start, search for regedit
, and press enter.
Navigate through to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
Right click on the key, and select Permissions...
. Navigate to the Owner
Tab. Select your username from the list, and click OK.
Back to the original window, select Users
from the list, and put a check in Full Control: Allow
All those extra windows should now be closed.
Now close regedit and try to import the above script again.
P.S. I have to leave for the next two days, but will return after that.