vgbaron Posted January 11, 2021 Report Posted January 11, 2021 In my cfg file I have these two entries: Run1=CLOSE,"E:\FS-ATC-Chatter\FS-ATC-Chatter.exe" Run2=CLOSE,"E:\NaturalPoint\TrackIR5\TrackIR5.exe" I have both properties set to run as admin In 7.02 - all is good in 7.04 I get error 740 on the TrackIR entry. I run the fsuipc batch file as admin and do it the same all the time. Uninstalled 7.04 and switched back - no errors. Reinstalled 7.04 - error is back. Not the end of the world but is there something I am missing here? Thanx, Vic
Pete Dowson Posted January 12, 2021 Report Posted January 12, 2021 10 hours ago, vgbaron said: I have both properties set to run as admin In 7.02 - all is good in 7.04 I get error 740 on the TrackIR entry. I run the fsuipc batch file as admin and do it the same all the time. Uninstalled 7.04 and switched back - no errors. Reinstalled 7.04 - error is back. Not the end of the world but is there something I am missing here? Error 740 can only occur when the program being loaded needs elevation and the program loading it doesn't have it. So there must be a problem in your setting of 7.0.4 to run in "admin mode". Set that in the FSUIPC7.EXE Properties-Compatibility. Note that the 7.0.4 installer sets MSFS to load FSUIPC7 automatically, rather than via the Batch file. Pete
John Dowson Posted January 12, 2021 Report Posted January 12, 2021 12 hours ago, vgbaron said: I run the fsuipc batch file as admin and do it the same all the time. In v7.0.4, FSUIPC7 is no longer started from the batch file, but from MSFS's EXE.xml file. So do as Pete suggests - set FSUIPC7.exe to run in admin mode. John
Pete Dowson Posted January 12, 2021 Report Posted January 12, 2021 1 hour ago, John Dowson said: So do as Pete suggests - set FSUIPC7.exe to run in admin mode. Just thought. This may also requite MSFS be run in admin mode. Not sure -- it might depend on how it tries to load FSUIPC.
vgbaron Posted January 12, 2021 Author Report Posted January 12, 2021 Thanx guys - I'll play around with it. I was unaware that 7.04 used the exe.xml. Vic
vgbaron Posted January 13, 2021 Author Report Posted January 13, 2021 Hmmm - ok this is with 7.04 on w10 pro if I set run as admin in compatibility for FSUIPC7.EXE - msfs loads perfectly but FSUIPC7 is not loaded if I set flightsimulator.exe to run as admin in compatibility - there's a flash when FSUIPC7 tries to load and then sim CTD if I remove run as admin from both - FSUIPC7 starts and I get 740 error on TrackIR.
John Dowson Posted January 13, 2021 Report Posted January 13, 2021 Its obviously a permissions issue but I've no idea what is causing this, you need to play around. I have TrackIR as well, but I never run anything in admin mode.... I always start TrackIR manually (as I only use it occasionally and for tests), but I'll try starting in via both FSUIPC and the MSFS EXE.xml to see if there are any permission issues for me (but I doubt it!). You could also try running TrackIR from the EXE.xml, rather than from FSUIPC?
John Dowson Posted January 13, 2021 Report Posted January 13, 2021 11 hours ago, vgbaron said: if I remove run as admin from both - FSUIPC7 starts and I get 740 error on TrackIR. Is trackIR set to run with admin privileges then? If so, try turning that off and running everything as non-admin. John
John Dowson Posted January 13, 2021 Report Posted January 13, 2021 Just had a look at this in more detail. TrackIR is not set to run in administrator mode, but it requests this when ran, so it does run in administrator mode. You therefore need to set FSUIPC7 to run in administrator mode if starting trackIR from FSUIPC7. Then, as MSFS stars FSUIPC7 from the EXE.xml, you need to run MSFS in administrator mode for it to be able to launch FSUIPC7, which will then be able to launch trackIR. I did this by setting this option on my FlightSimulator.exe file. After doing that, all start ok. Alternatively, you can remove the start-up of FSUIPC7 from the EXE.xml, and re-enable the start of FSUIPC7 from the MSFS.bat file.To do this, change Quote :: wait for MSFS to start (2mins) ::timeout /t %delay% /nobreak > NUL :: start FSUIPC7 ::start "" "INSTDIR\FSUIPC7.exe" to Quote :: wait for MSFS to start (2mins) timeout /t %delay% /nobreak > NUL :: start FSUIPC7 start "" "INSTDIR\FSUIPC7.exe" and replace INSTDIR with the full path to the FSUIPC7.exe John
vgbaron Posted January 13, 2021 Author Report Posted January 13, 2021 ok, thanx John. I'll play around with it. If it's working for you then it's something in my configuration. I'll try to hunt it down. Vic
John Dowson Posted January 13, 2021 Report Posted January 13, 2021 14 hours ago, vgbaron said: if I set flightsimulator.exe to run as admin in compatibility - there's a flash when FSUIPC7 tries to load and then sim CTD This should be the one that works, with both flightsimulator.exe set and FSUIPC7.exe set to run as admin. I don't know why you get a CTD with this config. Maybe try that again? If it crashes again, check for a crash event in the windows event viewer. You can post that here but I'm not sure I can do much with it... John
vgbaron Posted January 13, 2021 Author Report Posted January 13, 2021 I'll also remove everything from the community folder in case some add on is affecting the loading. I looked at the event viewer but no relevant entries. I'll play a bit, if all else fails I'll throw TIR in the exe.xml file - probably the easiest solution. I'm just curious as to why the permissions conflict. Thanx for the help - Vic
John Dowson Posted January 13, 2021 Report Posted January 13, 2021 1 minute ago, vgbaron said: I'll also remove everything from the community folder in case some add on is affecting the loading. I don't think this will make a difference. 1 minute ago, vgbaron said: if all else fails I'll throw TIR in the exe.xml file - probably the easiest solution. You can try it, but make sure MSFS is set to run as administrator. I didn't try this though, but should work...
vgbaron Posted January 14, 2021 Author Report Posted January 14, 2021 I'll keep tinkering on and off but no joy so far. MSFS set as admin - shortly after initial screens - CTD - no entry in event viewer. Tried running it directly from the msfs icon - same. Didn't try it w/o FSUIPC entry in exe.xml file - will have time tomorrow. Adding TrackIR to exe.xml - wouldn't load with FSUIPC7.exe set as admin - it doesn't load with MSFS - no errors - just doesn't start FSUIPC on a lark, I added a trackir entry to the msfs.bat file - loads perfectly along with FSUIPC - only issue is I have to manually end it. in case I didn't mention it - it's a MS Store install to my F: drive not the default. I'll keep tinkering just on principle.. ]Vic
John Dowson Posted January 14, 2021 Report Posted January 14, 2021 The config that should work is when you get the CTD. Very strange. I think the other solution should work though, which is: - remove the start of FSUIPC7 from the EXE.xml - use FSUIPC's [Programs] section to start TrackIR - set FSUIPC7 to run with administrator privileges - re-enable the start of FSUIPC7 from the MSFS.bat file (as described above) Then, if you use the desktop link to start MSFS with FSUIPC7, this will start MSFS without admin privileges and start FSUIPC7 with them, which will then also start trackIR. John
vgbaron Posted January 14, 2021 Author Report Posted January 14, 2021 I'll give that a shot tonight. Thanx John! Vic
vgbaron Posted January 15, 2021 Author Report Posted January 15, 2021 Well, I've narrowed it down with some success Replacing instdir and setting admin run on FSUIPC7, TIR and the msfs.bat file did not work. Setting flightsimulator.exe run as admin - same ctd so - restored and took ownership of exe.xml, FSUIPC7 and TIR - run as was set on both. Set run as on flightsimulator,exe started program from the MS Flightsimulator desktop shortcut - worked perfectly Tried it from the msfs.bat file with instdir intact - ctd set up a shortcut with just the fastlaunch cmdline entry - ctd run flightsim shortcut again - worked So it seems that I can not use the fastlaunch command in this instance. Tried the fastlaunch command with FSUIPC7 removed from exe.xml - worked just fine IF flightsimulator.exe was NOT set to run as admin.. I'll try some other combinations and see if I can narrow it down but running w/o the fastlaunch option works fine. Vic
Pete Dowson Posted January 15, 2021 Report Posted January 15, 2021 Hi Vic, Seems like the problem in MSFS is related to code it needs to execute for elevated privileged mode which is bypassed in "fastlaunch" mode. Worthy of a report to Zendesk along with your description and the Event Viewer details of the CTD. Thanks for your perseverance! Pete
vgbaron Posted January 15, 2021 Author Report Posted January 15, 2021 Will do Pete. At this point, it's only a 27 second increase in load time over "fastlaunch" so it's not a show stopper. Thanx for your help, and John's Vic
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now