kevinchiu Posted May 25, 2018 Share Posted May 25, 2018 Dear Sir, I'm new to Autoitscript, and I have encounter a problem that need help. After I power up my desktop, my device manager always has yellow mark next to LAN. (Windows 10) I have to remove and remount to make it work correctly, and this is annoying. I want to use autoitscript to remove and remount the LAN port every time I boot up my system. After some research of sample scripts, I don't find exactly method for what I try to do. The closest one are the following 2 script that allow me to turn on device manager automatically after boot up. Run(@ComSpec & " /c " & 'devmgmt.msc', "", @SW_HIDE) ShellExecuteWait("devmgmt.msc") I don't know the difference to the lines above. I need instruction about how to remove and remount specific devices with autoitscript. thanks a lot. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 25, 2018 Moderators Share Posted May 25, 2018 Moved to the correct forum, as the Technical Discussion forum very clearly states: Quote Do not post general support questions here, instead use the AutoIt Help and Support forums "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
TheXman Posted May 25, 2018 Share Posted May 25, 2018 Instead of spending time developing a workaround to a relatively serious issue, wouldn't your time be better spent trying to find the root cause of the issue and correct it? Or are you just using this issue to learn AutoIt scripting and its capabilities? CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman Link to comment Share on other sites More sharing options...
kevinchiu Posted May 25, 2018 Author Share Posted May 25, 2018 I know this is H/W issue or BIOS issue. Yes, As your mention, I just using this issue to lean AutoIT scripting and capabilities. I know I can use script like press keyboard, step by step. But I also want to does any other way like function call do this process more smart. thanks . 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