Software: Microsoft-IIS/10.0. PHP/7.4.33 uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 IWPD_801(traduongco) Safe-mode: OFF (not secure) C:\Windows\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\core\js\appLaunchers\ drwxrwxrwx | |
| Viewing file: Select action/file-type: //
// Copyright (C) Microsoft. All rights reserved.
//
define(() => {
class OOBEReboot {
launchAsync(currentNode) {
return new WinJS.Promise(function (completeDispatch /*, errorDispatch, progressDispatch */) {
let shouldReboot = CloudExperienceHost.Storage.SharableData.getValue("shouldRebootForOOBE");
if (shouldReboot) {
CloudExperienceHost.Storage.SharableData.addValue("OOBEResumeEnabled", true);
let resumeCXHId = CloudExperienceHost.Storage.SharableData.getValue("resumeCXHId");
// Default to resume from the next node of the reboot node
if (!resumeCXHId && currentNode.successID) {
CloudExperienceHost.Storage.SharableData.addValue("resumeCXHId", currentNode.successID);
}
CloudExperienceHost.Telemetry.oobeHealthEvent(CloudExperienceHostAPI.HealthEvent.expectedMachineNoErrorReboot, 0 /* Unused Result Parameter */);
CloudExperienceHostAPI.UtilStaticsCore.restartAsync().done(function () {}, function (err) { completeDispatch(CloudExperienceHost.AppResult.fail); });
}
else {
completeDispatch(CloudExperienceHost.AppResult.success);
}
});
}
}
return OOBEReboot;
}); |
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5888 ]-- |