# Launch Epicor using AutoUpdate (bypass Windows 10 UAC) **Category:** [Epicor ERP 10](https://www.epiusers.help/c/e10/5) **Created:** 2017-02-10 13:19 UTC **Views:** 15722 **Replies:** 30 **URL:** https://www.epiusers.help/t/launch-epicor-using-autoupdate-bypass-windows-10-uac/37238 --- ## Post #1 by @JasonBennett We're running into issues using Epicor with Windows 10 UAC, particularly whenever our users need to perform client updates. Whenever this occurs, Windows 10 UAC prevents the AutoUpdate.exe from being launched by Epicor. With Epicor 9, we found we could work around this by having our Epicor shortcuts point directly to the AutoUpdate.exe, which would launch if needed and then launch Epicor afterwards. When we try doing this in Epicor 10 though, we get an error message instead stating "The server's ' ' file could not be found". Does anyone know if it is still possible to launch AutoUpdate.exe directly in Epicor 10 still, or of another work around for running client updates on Windows 10? --- ## Post #2 by @an9res JasonBennett, Saludos. Tienes que darle permiso a la carpeta de epicor 10 que esta en C:\Epicor, aparte de eso tienes que ir al acceso directo y hacer click con el boton derecho Propiedades/Compatibilidad/compatible con el OS. Por ultimo te recomiendo q hagas esto para que no te suceda al cambiar de bases de datos: PRODUCCION=C:\Epicor\ERP10.1Client\Client\Epicor.exe /Skip "/config=Epicor10.1.sysconfig" y TEST=C:\Epicor\ERPTest10.1Client\Client\Epicor.exe /Skip "/config=EpicorPilot10.1.sysconfig". saludos espero que ayude. --- ## Post #3 by @Jos_Greeve as my spanish is not quite great, can someone translate the message from Andrès to english (or dutch) ;-) --- ## Post #4 by @josecgomez Click the globe on the forum I'll translate for you --- ## Post #5 by @JasonBennett One of my co-workers helped me translate Andrès' message, and it definitely helped. We had only been focusing on the client-side setup, but the issue was that the "Default.sysconfig" file needed to be both on the client PC and the server. After copying the "Default.sysconfig" file to the server's config folder, we could run AutoUpdate by itself, which would then launch the Epicor 10 client afterwards. We did not have to change any of the compatibility settings in this case. Regarding the other suggestion, we prefer to let our users automatically take the updates in Epicor 9, and with Epicor 10 we've been hoping to maintain this. I know that using /skip in the shortcut is typically the recommended solution for this, but we're hoping to use this work-around in the meantime to allow our users to continue automatically pulling updates to the client. Thanks again for the help Andrès. --- ## Post #6 by @josecgomez Jason, You can click on the globe icon below Andre's message and the site will do a translation for you... its pretty good for the most part.. just FYI --- ## Post #7 by @JasonBennett Thanks for the heads up Jose, I'll definitely make use of this in the future. --- ## Post #8 by @Jos_Greeve thank you for this update to, had some issue's finding the globe... --- ## Post #9 by @markdamen Sounds interesting. Are you saying that your shortcut points to autoupdate.exe instead of Epicor.exe? --- ## Post #10 by @JasonBennett The majority of our shortcuts still point at the MfgSys.exe file in Epicor 9, and the Epicor.exe file in Epicor 10. On our Windows 10 PCs though, we don't have much in the way of customizability for how UAC is configured, and as long as UAC is enabled on these PCs we've found that we cannot get the MfgSys.exe or Epicor.exe file to automatically launch AutoUpdate.exe. In this scenario, we've created separate shortcuts for our users which point to AutoUpdate.exe in Epicor 9. We've also trained them that if they're prompted for an update on start-up of Epicor 9, they have to launch the "Update" shortcut. With Epicor 10, the same set up works but you apparently need to ensure that the "default.sysconfig" file is available both in the client and server config folders. Alternatively, I found this morning that you can point AutoUpdate.exe at a config file, so long as the file exists in the same location on both PCs. For instance, I have a shortcut that targets: "C:\Epicor Software\Server10\Epicor101500CR\AutoUpdate.exe" "D:\Epicor\ERP10\ERP10.1.500.0\ClientDeployment\Client\Config\Epicor101500CR.sysconfig" The second half of that specifies the config file location on the server, and I've mapped a D drive to point at a similar folder structure on my PC. This was just a test at this point, if we were to use this for our users we'd likely created a folder structure on the server to mimic the client folder structure, and copy a config file to that location. --- ## Post #11 by @markdamen Interesting. I wonder if you're seeing the same issue that I do. My users get the auto update start if required, but it's prompting UAC elevation because the users don't have admin rights on their local PC. When your users click AutoUpdate.exe, does it prompt them for admin rights? --- ## Post #12 by @Hally A little off topic here, but do people have a separate client folder for their Test/Pilot as distinct from their Production? --- ## Post #13 by @JasonBennett @markdamen it sounds like we have the exact same issue. Our users get the UAC escalation prompt when trying to launch their client while an update is needed. When we launch AutoUpdate.exe instead, it bypasses the UAC escalation, takes the client update from the server, and then opens the login window for the client. @Hally we have a single client installed for each instance, and separate Test, Pilot, Production, etc. using shortcuts pointing at different config files. --- ## Post #14 by @Hally Thanks for the feedback --- ## Post #15 by @an9res Jose, Como estas me puedes ayudar en un post que publique ayer... de un descuadre de asiento contable por favor. gracias. --- ## Post #16 by @JasonBennett We recently ran into another issue using AutoUpdate.exe in Epicor 10.1.500.14. We have the configuration files set up correctly, but now after AutoUpdate.exe has downloaded the full Release Client, the application will throw this error: "The file 'C:\Epicor Software\E10Client\Epicor.ServiceModel.dll' is currently locked. Hitting Cancel will cause AutoUpdate to exit." We have the option to retry or cancel, but the file never unlocks when retrying and the AutoUpdate process is the only one running. --- ## Post #17 by @aidacra For science, if you rename the C:\Epicor Software\E10Client\Epicor.ServiceModel.dll file before the autoupdate is triggered, does the process complete or does the file that the autoupdate reports is locked simply different? --- ## Post #18 by @JasonBennett Actually tried this myself yesterday, as well as deleting the file. In both cases, the Epicor.ServiceModel.dll file is recreated in the folder before AutoUpdate.exe starts to download the release client. The locking message ends up being the same. If you delete the file while the release client is downloading (apparently it's not locked at that point), AutoUpdate.exe hits an unhandled exception at the point of trying to lock the file and results in a Windows error (the kind you can send to Microsoft). --- ## Post #19 by @aidacra FYI: The SCR to not require elevated privileges during a client autoupdate was completed soon enough to be included in the GA release of 10.1.600. The autoupdate will now only force elevation if the user doesn't have write access to the client folder. --- ## Post #20 by @JasonBennett Thanks for the heads up Nathan. With that in mind, we'll likely just try to script our way around the issue until we get to 10.1.600. --- ## Post #21 by @MarkBetts Have you tried setting the update option to not clear out the client folder during the upgrade? --- ## Post #22 by @JasonBennett We've tried that option as well, but that gives us the error "The file 'C:\Epicor Software\E10Client\Epicor.ServiceModel.dll' is currently locked. Hitting Cancel will cause AutoUpdate to exit". If we clear the client folder, AutoUpdate.exe hard-crashes when we run it individually. --- ## Post #23 by @josecgomez @MarkBetts It's no use, I've looked at the the code they run the update as admin no matter what. --- ## Post #24 by @Jos_Greeve It's not working for me either, we have to wait for 10.1.600 indeed. --- ## Post #25 by @razgriz989 We wrote a .bat script that copies the epicor localclients zip folder from the app server and unzips to the client pc. I also implemented a .bat "launcher" that the e10 shortcut points to. When launched, This checks to see if the version file in the client directory matches the version number on the server. If it does not, it wipes the epicor client directory and re-downloads the client, if it does it goes ahead and launches epicor.exe with any specified switches you want. The auto-update with UAC has been a problem for years now and this was the only solution that i found that works and would not require us to run around putting passwords in for users after an update was performed. --- ## Post #26 by @markdamen Interesting… are you able and willing to share the script? Something I’ve been waiting for Epicor to fix as I also don’t like having to visit many many workstations each time and upgrade is applied! --- ## Post #27 by @Ramon.Medina I figured out how to get his to work. I used Process Monitor to see what the command line arguments for AutoUpdate.exe are when the Epicor.exe program runs it. AutoUpdate.exe gets copied to a temp directory and run from there. So I modified my batch file to run the copy on the server and give it arguments for the local client copy, like so: > pushd "\\\\servername\ERP10.1.600.0Deployment\Client" > AutoUpdate.exe "EpicorERP10.1.sysconfig" "InstallPath=C:\Epicor\ERP10.1Client\Client" > popd Now when I push out the batch program and run it on client machines, it will download all the client files, and any updates that I included in the server's copy of the .sysconfig file, right away instead of users having to wait for all that to download when they first run it from the shortcut. --- ## Post #28 by @THulbert @JasonBennett Did you ever resolve this issue? We have one user that occasionally experiences the locked dll when AutoUpdate runs which usually requires a full reinstall of the client. This just happened again today with the latest update 10.2.300.1. We are Dedicated Tenant. --- ## Post #29 by @Mark_Wonsil Hi Tom, I've only seen this with a bad shut-down of Epicor. Restarting the workstation seemed to fix the issue without a complete re-install. We, too, are Public Cloud - Dedicated Tenant. Mark W. --- ## Post #30 by @JasonBennett Like @Mark_Wonsil said, I haven't seen this issue since we moved to 10.2.200 unless the PC was still holding onto the file for some reason, but we locally host our own environment so that could affect things. I'd try restarting the PC first as well, but aside from that I'm not sure how much help I can be. --- ## Post #31 by @hkeric.wci Does anyone here use "SCCM" ? We use that to Deploy to 1000+ PCs. https://www.microsoft.com/en-us/cloud-platform/system-center-configuration-manager-features --- **Canonical:** https://www.epiusers.help/t/launch-epicor-using-autoupdate-bypass-windows-10-uac/37238 **Original content:** https://www.epiusers.help/t/launch-epicor-using-autoupdate-bypass-windows-10-uac/37238