Categories: Virtualization

THE APPLICATION ENCOUNTERED AN ERROR WHILE ATTEMPTING TO CHANGE THE STATE OF “VM”

&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2527 " id&equals;"quads-ad2527" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<p>Symptoms&colon; After you finished deploying your Hyper-V server but in this case without the Server connected to the Internet and time is configured properly&period;<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2525 " id&equals;"quads-ad2525" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2523 " id&equals;"quads-ad2523" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2531 " id&equals;"quads-ad2531" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<p>After you have created and configured new VMs and installed them&comma; when you connect your physical Hyper-V host server to the Internet you notice the time changed and your VMs become inaccessible for certificate issue&period;&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>here’s the error and how to fix it&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;EmbeddedImage&period;png" alt&equals;"" class&equals;"wp-image-5487"&sol;> &NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2524 " id&equals;"quads-ad2524" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; &NewLine;<&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>3- EXCHANGE&lowbar;OI on HASIMI NODE2 –<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Action<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Media Clipboard View Help<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Virtual Machine Connection<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>The application encountered an error while attempting<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>to change the state of •g- EXCHANGE 01<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>•3- EXCHANGE&lowbar;OI’ could not initialize&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Could not initiallze machine remoting system&period; Error&period; •Element not<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>found&period;’ &lpar;000070490&rpar;&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>not find a usable cetificate&period; Element not found&period;’<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>&lpar;0000704″&rpar;&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>•3- EXCHANGE&lowbar;OI’ could not initialize&period; &lpar;Virtual machine 10<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>B967FUc-20A2-43BD&period;83EE&period;99R321DCD55&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>•3- EXCHANGE&lowbar;OI’ could not initialize machine remoting system&period; Error&colon;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>&OpenCurlyQuote;Element not found&period;'&lpar;Ox8D070490&rpar;&period; &lpar;Virtual machine ID<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>g967FUc&period;20A2-43gD&period;B3EE&period;g9A2321DCD55&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>•3- EXCHANGE&lowbar;OI’ could not find a usable certificate&period; Error&colon; &OpenCurlyQuote;Element not<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2530 " id&equals;"quads-ad2530" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<p>Status&colon; Off<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>found&period;’ &lpar;oxeoc70490&rpar;&period; machine<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>B967FUc-20A2-a3BD-B3EE-99A2321DCD55&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>&commat; Hide details<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Close<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Symptoms<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>If the Hyper-V Host Server doesn’t have internet and you have configured it after creating a VM then the server date will change and the self-signed certificate date will change as it won’t be verified by Hyper V manager and will cause launching the VM to fail to start&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Solution&colon;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Delete old certificate and Create a new Self signed certificate&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>To do so open MMC<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Navigate to Certificates<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;vmm2&period;png" alt&equals;"" class&equals;"wp-image-5489"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>In Certificates select Service Account<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;vmm3&period;png" alt&equals;"" class&equals;"wp-image-5490"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Choose local computer and click next<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;vmm4&period;png" alt&equals;"" class&equals;"wp-image-5491"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Then select the Hyper-V Virtual Machine Management Service account and open<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;vmm5&period;png" alt&equals;"" class&equals;"wp-image-5494"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Under the Personal&comma; check the date of the certificate there &period;&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Delete the certificate<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;vmm6-1&period;png" alt&equals;"" class&equals;"wp-image-5493"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Open Service Console and restart all Hyper-V Services<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;vmm7&period;png" alt&equals;"" class&equals;"wp-image-5495"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Once the service is restarted&comma; you’ll see a new certificate that has been automatically created<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2528 " id&equals;"quads-ad2528" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image size-large"><img src&equals;"https&colon;&sol;&sol;www&period;moh10ly&period;com&sol;wp-content&sol;uploads&sol;2019&sol;11&sol;vmm8&period;png" alt&equals;"" class&equals;"wp-image-5496"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now if you try to open the VM console again&comma; it should work&period;<&sol;p>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2522 " id&equals;"quads-ad2522" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;

moh10ly

Share
Published by
moh10ly

Recent Posts

Reset passwords for Active Directory Users

Reset and manage your Active Directory users' Passwords Active Directory is one of the most…

3 years ago

Finding Exchange Database hidden mailboxes. ​

Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…

3 years ago

Setting up ADConnect and PTA (Password auth through) servers agents behind proxy

If you're using a Proxy server in your firewall or in your network and have…

3 years ago

Get Report of Active Directory Locked Accounts and Machine they logged in from

Story:I got some clients  that have reported some of their users being locked out and…

3 years ago

Checking and Providing Full and SendAs delegate access on O365 Exchange Online

Delegate Permissions This is a code that I have wrote recently to check if an…

3 years ago

Retrieving attachments from Exchange mailbox using python

Story: I got a request from a client who constantly gets CVs and have to…

4 years ago

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298