Jump to content
Sign in to follow this  
kevinchiu

call for help of devmgmt.msc

Recommended Posts

kevinchiu

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.

 

 

Share this post


Link to post
Share on other sites
JLogan3o13

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

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
TheXman

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?

Share this post


Link to post
Share on other sites
kevinchiu

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 .

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×