gabritb01 Posted July 7, 2020 Share Posted July 7, 2020 Hi to all! I am not a professional developer, autoIT is only an hobby. I am coding a system manager GUI with more functions compared to services.msc. Is there a way to check if a service come preinstalled with windows or is related to user softwares that installs his own services? Now i am using StringInStr but I am having some false positive (some user services detected as Windows services because the name contains parts of Windows services). Thanks! Link to comment Share on other sites More sharing options...
jguinch Posted July 8, 2020 Share Posted July 8, 2020 Each service is associated to an executable. So you just have to retrieve the COMPANYNAME of the executable : #Include <FileConstants.au3> Local $version = FileGetVersion ( "c:\windows\system32\svchost.exe", $FV_COMPANYNAME ) MsgBox(0, "", $version) careca 1 Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
gabritb01 Posted July 8, 2020 Author Share Posted July 8, 2020 Many thanks! That's just what I needed. Link to comment Share on other sites More sharing options...
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