Hi
I'm new to Windows 7 and this is my first post so go easy if this a silly question.
I currenly work in an IT department and have been given this 'project'.
We have a number of users who have been given 32bit Windows 7 laptops for remote, home and office working.
I have been asked to create a batch file so that as soon as the user comes into the office they plug the laptop into the network and it should use the wired connection automatically to access the corporate LAN. As soon as they work away and need to access the corporate network remotly they do not need to press the wireless button on the laptop, when the laptop is switched and logged on i want the laptop to know that it is not on a wired network and for the wireless to kick in.
I have created two bat files -
netsh interface set interface “Wireless Network Connection” Disable
and
netsh interface set interface “Wireless Network Connection” Enable
these have been placed in task scheduler under create a basic task. I have tried both of these in cmd prompt but they still don't work.
Can anyone please advise me.
Thank you
TOSH1
I'm new to Windows 7 and this is my first post so go easy if this a silly question.
I currenly work in an IT department and have been given this 'project'.
We have a number of users who have been given 32bit Windows 7 laptops for remote, home and office working.
I have been asked to create a batch file so that as soon as the user comes into the office they plug the laptop into the network and it should use the wired connection automatically to access the corporate LAN. As soon as they work away and need to access the corporate network remotly they do not need to press the wireless button on the laptop, when the laptop is switched and logged on i want the laptop to know that it is not on a wired network and for the wireless to kick in.
I have created two bat files -
netsh interface set interface “Wireless Network Connection” Disable
and
netsh interface set interface “Wireless Network Connection” Enable
these have been placed in task scheduler under create a basic task. I have tried both of these in cmd prompt but they still don't work.
Can anyone please advise me.
Thank you
TOSH1