Remote Registry Dependency Bug
Closed this issue · 0 comments
krisdb2009 commented
Describe the bug
Super Grate is not supposed to be dependant on the "Remote Registry" service.
Turns out, the WaitForProcessExit
needs the Remote Registry to be enabled in order to work.
To Reproduce
Steps to reproduce the behavior:
- Disable remote registry on target PC.
- Start a migration.
Logs
[VERBOSE]<17.17.33> Waiting for scanstate to finish...
[ERROR]<17.17.33> Couldn't connect to remote machine.
[VERBOSE]<17.17.34> ERROR
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
at System.Diagnostics.Process.GetProcesses(String machineName)
at System.Diagnostics.Process.GetProcessesByName(String processName, String machineName)
at SuperGrate.Remote.<>c__DisplayClass2_0.<<WaitForProcessExit>b__0>d.MoveNext()
[ERROR]<17.17.34> Couldn't get process information from performance counter.
[VERBOSE]<17.17.34> ERROR
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
[ERROR]<17.17.34> Failed to check if scanstate is still running.
Additional context
One solution might be to just add this behavior to the documentation instead of re-programming the process "watchdog".
To be determined.