06-11-2024 04:36 AM
I want to execute the command 'netsh interface set interface "Wi-Fi" enable/disable' using the System Exec VI in LabVIEW. The command prompt opens, but the command is not written. Kindly help me to solve this issue.
06-11-2024 04:45 AM - edited 06-11-2024 04:45 AM
@nithya200 wrote:
I want to execute the command 'netsh interface set interface "Wi-Fi" enable/disable' using the System Exec VI in LabVIEW. The command prompt opens, but the command is not written. Kindly help me to solve this issue.
I think this command requires Administrator privileges. You can run LabVIEW as Administrator, or use Task Scheduler and create tasks for enable/disable, then call these tasks programmatically, or use runas command (then you will be prompted by UAC), or may be set GPO to allow to call this from non.admin environment (here not sure).