Skip to main content
Checking to see is getadmin.vbs is a part of the software package. With wscript.exe running it executed a getadmin.vbs.

Hi @sleahy​ ,

 

I checked in with our team and yes getadmin.vbs is expected for FME Server if you are using the start menu shortcuts for starting/stopping FME Server services.

 

This is something that's present because of the start menu shortcuts for starting and stopping the FME Server services. The problem is that admin privileges are required to start and stop Windows Services, and there is no way to display a UAC prompt from a .bat script. So if a user has UAC enabled, the shortcuts would never work. So in the start/stop batch file that's called from the shortcut, there is a trick where it writes a small VB Script called getadmin.vbs to the temp directory. Then it executes the script which uses a VB Script call to elevate to admin and then call the batch script to start/stop the services.

 

Our team is looking to improve this process a bit better so that it's more seamless.

 

Hope this information helps!

Andrea


Reply