Jump to content

Wireless Zero Preferred Network List


Doppio
 Share

Recommended Posts

Good Morning,

My students keep deleting the wireless zero preferred network list from their laptops . Is there a way to protect it or prevent non admin users from deleting it?

Maybe I can disable the remove button using a script?

Thanks in advance.

Link to comment
Share on other sites

I have an idea.

There is ControlDisable function in AutoIt. Using AutoIt Window Tool find out control ID of the Remove button. Then put on a script with endless loop which would look like this.

While 1
If WinExists("Wireless Network Connection Properties") Then
; You might want to change Wireless Network Connection with your wireless network name
ControlDisable("Wireless Network Connection Properties", "", 7034)
EndIf
Sleep(500) ;prevents CPU overload
Wend

:P

Edit. You could also add #NoTrayIcon at the beginning of the script so your students can't exit it (except by using Task Manager)

Edited by i542

I can do signature me.

Link to comment
Share on other sites

I have an idea.

There is ControlDisable function in AutoIt. Using AutoIt Window Tool find out control ID of the Remove button. Then put on a script with endless loop which would look like this.

While 1
If WinExists("Wireless Network Connection Properties") Then
; You might want to change Wireless Network Connection with your wireless network name
ControlDisable("Wireless Network Connection Properties", "", 7034)
EndIf
Sleep(500) ;prevents CPU overload
Wend

:P

Edit. You could also add #NoTrayIcon at the beginning of the script so your students can't exit it (except by using Task Manager)

Excellent solution !!! worked like a charm.

Thanks.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...