{"id":364,"date":"2016-04-01T04:17:34","date_gmt":"2016-04-01T04:17:34","guid":{"rendered":"http:\/\/www.memuplay.com\/blog\/?p=364"},"modified":"2020-11-30T19:38:32","modified_gmt":"2020-11-30T11:38:32","slug":"how-to-manipulate-memu-thru-command-line","status":"publish","type":"post","link":"https:\/\/www.memuplay.com\/blog\/how-to-manipulate-memu-thru-command-line.html","title":{"rendered":"How to Manipulate MEmu thru Command Line"},"content":{"rendered":"<p>If you want to\u00a0manipulate MEmu thru command line,\u00a0please check\u00a0this post.<\/p>\n<p><strong>Basic Command: MEmuConsole.exe<\/strong> (C:\\Program Files\\Microvirt\\MEmu)<\/p>\n<ul>\n<li>MEmuConsole MEmu_1 (start MEmu_1)<\/li>\n<li>MEmuConsole ShutdownVm MEmu_1 (shutdown MEmu_1)<\/li>\n<li>MEmuConsole create (create a new\u00a0MEmu by\u00a0default )<\/li>\n<li>MEmuConsole clone MEmu_1\u00a0(clone a new MEmu from a MEmu_1)<\/li>\n<li>MEmuConsole import D:\\my_memu.ova (import a MEmu from my_memu.ova)<\/li>\n<li>MEmuConsole export MEmu_1\u00a0D:\\my_memu.ova\u00a0(export\u00a0MEmu_1 to\u00a0my_memu.ova)<\/li>\n<li>MEmuConsole installapk MEmu_1 D:\\my_app.apk (install my_app.apk to MEmu_1)<\/li>\n<\/ul>\n<hr \/>\n<p><strong>Advanced Command: MEmuManage.exe<\/strong> (C:\\Program Files\\Microvirt\\MEmuHyperv)<\/p>\n<ul>\n<li>MEmuManage.exe import MEmu.ova &#8211;dry-run<\/li>\n<li>MEmuManage.exe import MEmu.ova<\/li>\n<li>MEmuManage.exe list runningvms<\/li>\n<li>MEmuManage.exe unregistervm MEmu &#8211;delete<\/li>\n<li>\n<div id=\"code_k1n\">MEmuManage.exe controlvm MEmu poweroff<\/div>\n<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;memory 512<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;cpus 1<\/li>\n<li>&#8230;<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete INP<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete MVD<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete APP<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete ADB<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete SNS<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;INP,tcp,127.0.0.1,21500,10.0.2.15,21500&#8221;<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;MVD,tcp,127.0.0.1,21501,10.0.2.15,21501&#8221;<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;APP,tcp,127.0.0.1,21502,10.0.2.15,21502&#8221;<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;ADB,tcp,127.0.0.1,21503,10.0.2.15,5555&#8221;<\/li>\n<li>MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;SNS,tcp,127.0.0.1,2l504,10.0.2.15,21504&#8221;<\/li>\n<li>&#8230;<\/li>\n<li>MEmuManage.exe guestproperty set MEmu imsi 460000446646798<\/li>\n<li>MEmuManage.exe guestproperty set MEmu imei 133524256790010<\/li>\n<li>MEmuManage.exe guestproperty set MEmu simserial 89860070200779921015<\/li>\n<li>MEmuManage.exe guestproperty set MEmu enable_su 1<\/li>\n<li>MEmuManage.exe guestproperty set MEmu microvirt_vm_brand iphone<\/li>\n<li>MEmuManage.exe guestproperty set MEmu microvirt_vm_model 6 plus<\/li>\n<li>MEmuManage.exe guestproperty set MEmu microvirt_vm_manufacturer Apple<\/li>\n<li>MEmuManage.exe guestproperty set MEmu resolution_height 480<\/li>\n<li>MEmuManage.exe guestproperty set MEmu resolution_width 800<\/li>\n<li>MEmuManage.exe guestproperty set MEmu vbox_dpi 192<\/li>\n<li>MEmuManage.exe guestproperty set MEmu linenum +8617677728760<\/li>\n<li>MEmuManage.exe guestproperty set MEmu is_hide_toolbar 1<\/li>\n<li>MEmuManage.exe guestproperty set MEmu_1 custom_tag &#8220;Cloned from\u00a0MEmu&#8221;<\/li>\n<li>&#8230;<\/li>\n<li>MEmuManage.exe sharedfolder add MEmu &#8211;name music &#8211;hostpath &#8220;D:\\MEmu Music&#8221;<\/li>\n<li>MEmuManage.exe sharedfolder add MEmu &#8211;name movie &#8211;hostpath &#8220;D:\\MEmu Video&#8221;<\/li>\n<li>MEmuManage.exe sharedfolder add MEmu &#8211;name picture &#8211;hostpath &#8220;D:\\MEmu Picture&#8221;<\/li>\n<li>MEmuManage.exe sharedfolder add MEmu &#8211;name download &#8211;hostpath &#8220;D:\\MEmu Download&#8221;<\/li>\n<\/ul>\n<p>Note: Please make sure run command line with administrator privileges.<\/p>\n<p>Note: It&#8217;s recommended to turn off the emulator before running MEmuManage.exe. The changes will take effect when start it again.<\/p>\n<p>Note: If you want to know the\u00a0all\u00a0parameters in more details, please visit download this <strong><a href=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/MEmu-Command-Line-Management-Interface-Version-4.3.20_OSE.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">document<\/a><\/strong>.<\/p>\n<hr \/>\n<p>&gt; Back to\u00a0<strong><a href=\"https:\/\/www.memuplay.com\/support.html\">MEmu 101<\/a><\/strong>, everything you need to know about MEmu &lt;&lt;<\/p>\n<ul>\n<li><strong>Official Website:<\/strong>\u00a0<a href=\"https:\/\/www.memuplay.com\/\">https:\/\/www.memuplay.com<\/a><\/li>\n<li><strong>Official Twitter:<\/strong><a href=\"https:\/\/twitter.com\/MicrovirtMEmu\">\u00a0https:\/\/twitter.com\/MicrovirtMEmu<\/a><\/li>\n<li><strong>Facebook Page:<\/strong><a href=\"https:\/\/www.facebook.com\/memuplayer\">\u00a0https:\/\/www.facebook.com\/memuplayer<\/a><\/li>\n<li><strong>MEmu User Group:<\/strong>\u00a0<a href=\"https:\/\/www.facebook.com\/groups\/memuplayer\">https:\/\/www.facebook.com\/groups\/memuplayer<\/a><\/li>\n<li><strong>Discord<\/strong>:\u00a0<a href=\"https:\/\/discord.gg\/gA4GWV9\">https:\/\/discord.gg\/gA4GWV9<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to\u00a0manipulate MEmu thru command line,\u00a0please check\u00a0this post. Basic Command: MEmuConsole.exe (C:\\Program Files\\Microvirt\\MEmu) MEmuConsole MEmu_1 (start MEmu_1) MEmuConsole ShutdownVm MEmu_1 (shutdown MEmu_1) MEmuConsole create (create a new\u00a0MEmu by\u00a0default ) MEmuConsole clone MEmu_1\u00a0(clone a new MEmu from a MEmu_1) MEmuConsole import D:\\my_memu.ova (import a MEmu from my_memu.ova) MEmuConsole export MEmu_1\u00a0D:\\my_memu.ova\u00a0(export\u00a0MEmu_1 to\u00a0my_memu.ova) MEmuConsole installapk MEmu_1 D:\\my_app.apk (install my_app.apk to MEmu_1) Advanced Command: MEmuManage.exe (C:\\Program Files\\Microvirt\\MEmuHyperv) MEmuManage.exe import MEmu.ova &#8211;dry-run MEmuManage.exe import MEmu.ova MEmuManage.exe list runningvms MEmuManage.exe unregistervm MEmu &#8211;delete MEmuManage.exe controlvm MEmu poweroff MEmuManage.exe modifyvm MEmu &#8211;memory 512 MEmuManage.exe modifyvm MEmu &#8211;cpus 1 &#8230; MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete INP MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete MVD MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete APP MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete ADB MEmuManage.exe modifyvm MEmu &#8211;natpf1 delete SNS MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;INP,tcp,127.0.0.1,21500,10.0.2.15,21500&#8221; MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;MVD,tcp,127.0.0.1,21501,10.0.2.15,21501&#8221; MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;APP,tcp,127.0.0.1,21502,10.0.2.15,21502&#8221; MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;ADB,tcp,127.0.0.1,21503,10.0.2.15,5555&#8221; MEmuManage.exe modifyvm MEmu &#8211;natpf1 &#8220;SNS,tcp,127.0.0.1,2l504,10.0.2.15,21504&#8221; &#8230; MEmuManage.exe guestproperty set MEmu imsi 460000446646798 MEmuManage.exe guestproperty set MEmu imei 133524256790010 MEmuManage.exe guestproperty set MEmu simserial 89860070200779921015 MEmuManage.exe guestproperty set MEmu enable_su 1 MEmuManage.exe guestproperty set MEmu microvirt_vm_brand iphone MEmuManage.exe guestproperty set MEmu microvirt_vm_model 6 plus MEmuManage.exe guestproperty set MEmu microvirt_vm_manufacturer Apple MEmuManage.exe guestproperty set MEmu resolution_height 480 MEmuManage.exe<a class=\"show-more\" href=\"https:\/\/www.memuplay.com\/blog\/how-to-manipulate-memu-thru-command-line.html\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[19,81,25893,4802,82],"yst_prominent_words":[612,4709,18335,18325,33928,18334,18331,28713,6071,18326,18333,18329,6067,6068,18330,6069,6070,28715,18328,18327],"class_list":["post-364","post","type-post","status-publish","format-standard","hentry","category-memu-faq","tag-android-emulator","tag-command-line","tag-faq-5","tag-lang-en","tag-manipulate-memu"],"_links":{"self":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":14,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/364\/revisions"}],"predecessor-version":[{"id":6812,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/364\/revisions\/6812"}],"wp:attachment":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/media?parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/categories?post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/tags?post=364"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}