{"id":669,"date":"2023-08-25T07:50:29","date_gmt":"2023-08-25T06:50:29","guid":{"rendered":"https:\/\/van-daag.nl\/?p=669"},"modified":"2023-08-25T07:50:31","modified_gmt":"2023-08-25T06:50:31","slug":"run-application-without-admin-rights","status":"publish","type":"post","link":"https:\/\/van-daag.nl\/?p=669","title":{"rendered":"Run Application without admin rights"},"content":{"rendered":"\n<p>Because of company policy, most users don&#8217;t have local admin rights. But sometimes there is an application that always needs admin rights to start because it is wrong configured.<\/p>\n\n\n\n<p>On the internet I finally found an easy startup of application. But it can be used for wrong things.<\/p>\n\n\n\n<p>Here is a simple batch file. You need to point to the exe file.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">set __COMPAT_LAYER=RUNASINVOKER\r\nstart \"\" \"C:\\Program Files (x86)\\&lt;LOCATION TO EXE FILE>.exe\"<\/code><\/pre>\n\n\n\n<p>If you don&#8217;t want to run this script by user, because they can see easy what to change. Check my other blog <a href=\"https:\/\/van-daag.nl\/?p=141\">Make from a PowerShell script an Exe file \u2013 VAN-DAAG<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because of company policy, most users don&#8217;t have local admin rights. But sometimes there is an application that always needs admin rights to start because it is wrong configured. On the internet I finally found an easy startup of application. But it can be used for wrong things. Here is a simple batch file. You [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53,7,19],"tags":[],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-blogs","category-ms-dos-scripts","category-windows-10"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=669"}],"version-history":[{"count":2,"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions"}],"predecessor-version":[{"id":672,"href":"https:\/\/van-daag.nl\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions\/672"}],"wp:attachment":[{"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/van-daag.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}