It looks like there continues to be a rights issue on this computer. When I run the script as 'networkadmin', a user which *should* have full rights, I get this:
SFCFix version 3.0.0.0 by niemiro.
Start time: 2018-01-17 09:49:55.290
Microsoft Windows 7 Service Pack 1 - amd64
Using .zip script file at C:\Users\networkadmin\Desktop\SFCFix.zip [1]
PowerCopy::
Failed to set ownership to current user for file or folder C:\windows\Winsxs
Failed to set ownership to Everyone for file or folder C:\windows\Winsxs
Failed to set ACLs for file or folder C:\windows\Winsxs
Failed to create directory tree
\\?\C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc with error code ERROR_ACCESS_DENIED.
Failed to read file attributes for file C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usb.inf.
Failed to copy file C:\Users\networkadmin\AppData\Local\niemiro\Archive\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usb.inf to C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usb.inf with error code ERROR_PATH_NOT_FOUND.
Failed to read file attributes for file C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbccgp.sys.
Failed to copy file C:\Users\networkadmin\AppData\Local\niemiro\Archive\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbccgp.sys to C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbccgp.sys with error code ERROR_PATH_NOT_FOUND.
Failed to read file attributes for file C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbhub.sys.
Failed to copy file C:\Users\networkadmin\AppData\Local\niemiro\Archive\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbhub.sys to C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbhub.sys with error code ERROR_PATH_NOT_FOUND.
Failure code returned from icacls process in RestoreFromDataBlock function for file or folder C:\windows\Winsxs. Error code ERROR_ACCESS_DENIED.
PowerCopy:: directive failed to complete successfully.
Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 4 datablocks.
Finish time: 2018-01-17 09:49:55.587
Script hash: 9IqKWGcIgmiuomBvIKubGdhwpLUOz9lBnOjgXdfqOxc=
----------------------EOF-----------------------
I then logged in as the local admin, and got this:
SFCFix version 3.0.0.0 by niemiro.
Start time: 2018-01-17 09:51:53.357
Microsoft Windows 7 Service Pack 1 - amd64
Using .zip script file at C:\Users\User1\Desktop\SFCFix.zip [2]
PowerCopy::
Successfully took permissions for file or folder C:\windows\Winsxs
Successfully created directory tree
\\?\C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc.
Successfully copied file C:\Users\User1\AppData\Local\niemiro\Archive\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usb.inf to C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usb.inf.
Successfully copied file C:\Users\User1\AppData\Local\niemiro\Archive\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbccgp.sys to C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbccgp.sys.
Successfully copied file C:\Users\User1\AppData\Local\niemiro\Archive\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbhub.sys to C:\windows\Winsxs\amd64_usb.inf_31bf3856ad364e35_6.1.7601.23933_none_299141303e40c6bc\usbhub.sys.
Successfully restored ownership for C:\windows\Winsxs
Successfully restored permissions on C:\windows\Winsxs
PowerCopy:: directive completed successfully.
Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2018-01-17 09:53:05.335
Script hash: 9IqKWGcIgmiuomBvIKubGdhwpLUOz9lBnOjgXdfqOxc=
----------------------EOF-----------------------
Have we been attacking this from the wrong angle? I noticed that when I try to add a user to the local Administrators group, I cannot even select the domain as the location to add users from. The only location available is this computer.