The 'ipconfig' command cannot be executed returning the "Windows IP Configuration - An internal error occurred: Access is denied" failure message.
Current DeviceLock access permissions may not include the user with allowed Wi-Fi permissions. The lack of privileges leads to the error.
Grant the user Read and Write access to Wi-Fi. Grant Full Access privileges to SYSTEM account.