Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
dariusz71 Absent Member.
Absent Member.
5104 views

Bundle to launch Wireless Network Connection.lnk

Good Evening,

My K-12 customer (Windows Environment, ZCM 10.3.1 and Windows XP Desktops) is locking down the control panel on all their devices. They want to be able to push out a bundle in Application Launcher that allows the user to launch the Wireless Network Connection list. They want to allow the user to be able an connect to their home or public wireless.

I created a shortcut to Wireless Network Connection Target ClassID {BA126ADB-2166-11D1-B1D0-00805FC1270E}.

I cannot run the ncpa.cpl command since the customer is locking down the Control Panel. I am able to drop the .lnk file on the hard drive and need a command to be able and run it.

I tried looking for a autoit script to do that or maybe a runas script to run ncpa.cpl

Any assistance with this would be greatly appreciated 🙂

- Dariusz Swierzewski
Labels (2)
0 Likes
7 Replies
Micro Focus Expert
Micro Focus Expert

Re: Bundle to launch Wireless Network Connection.lnk

Create a "Launch Windows Executable Action" and just use the .LNK file
as the ".EXE"


On 12/9/2010 6:36 PM, dariusz71 wrote:
>
> Good Evening,
>
> My K-12 customer (Windows Environment, ZCM 10.3.1 and Windows XP
> Desktops) is locking down the control panel on all their devices. They
> want to be able to push out a bundle in Application Launcher that allows
> the user to launch the Wireless Network Connection list. They want to
> allow the user to be able an connect to their home or public wireless.
>
> I created a shortcut to Wireless Network Connection Target ClassID
> {BA126ADB-2166-11D1-B1D0-00805FC1270E}.
>
> I cannot run the ncpa.cpl command since the customer is locking down
> the Control Panel. I am able to drop the .lnk file on the hard drive
> and need a command to be able and run it.
>
> I tried looking for a autoit script to do that or maybe a runas script
> to run ncpa.cpl
>
> Any assistance with this would be greatly appreciated 🙂
>
>



--
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
dariusz71 Absent Member.
Absent Member.

Re: Bundle to launch Wireless Network Connection.lnk

Hi Craig -

I looked at a TID to try and fool ZCC, but no luck my friend.


craig_wilson;2055067 wrote:
Create a "Launch Windows Executable Action" and just use the .LNK file
as the ".EXE"


On 12/9/2010 6:36 PM, dariusz71 wrote:
>
> Good Evening,
>
> My K-12 customer (Windows Environment, ZCM 10.3.1 and Windows XP
> Desktops) is locking down the control panel on all their devices. They
> want to be able to push out a bundle in Application Launcher that allows
> the user to launch the Wireless Network Connection list. They want to
> allow the user to be able an connect to their home or public wireless.
>
> I created a shortcut to Wireless Network Connection Target ClassID
> {BA126ADB-2166-11D1-B1D0-00805FC1270E}.
>
> I cannot run the ncpa.cpl command since the customer is locking down
> the Control Panel. I am able to drop the .lnk file on the hard drive
> and need a command to be able and run it.
>
> I tried looking for a autoit script to do that or maybe a runas script
> to run ncpa.cpl
>
> Any assistance with this would be greatly appreciated 🙂
>
>



--
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

- Dariusz Swierzewski
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Bundle to launch Wireless Network Connection.lnk

There is no fooling involved, you can launch anything there, not just EXEs.

If it does not work, their policies are stopping something.


On 12/9/2010 10:36 PM, dariusz71 wrote:
>
> Hi Craig -
>
> I looked at a TID to try and fool ZCC, but no luck my friend.
>
>
> craig_wilson;2055067 Wrote:
>> Create a "Launch Windows Executable Action" and just use the .LNK file
>> as the ".EXE"
>>
>>
>> On 12/9/2010 6:36 PM, dariusz71 wrote:
>>>
>>> Good Evening,
>>>
>>> My K-12 customer (Windows Environment, ZCM 10.3.1 and Windows XP
>>> Desktops) is locking down the control panel on all their devices.

>> They
>>> want to be able to push out a bundle in Application Launcher that

>> allows
>>> the user to launch the Wireless Network Connection list. They want

>> to
>>> allow the user to be able an connect to their home or public

>> wireless.
>>>
>>> I created a shortcut to Wireless Network Connection Target ClassID
>>> {BA126ADB-2166-11D1-B1D0-00805FC1270E}.
>>>
>>> I cannot run the ncpa.cpl command since the customer is locking down
>>> the Control Panel. I am able to drop the .lnk file on the hard

>> drive
>>> and need a command to be able and run it.
>>>
>>> I tried looking for a autoit script to do that or maybe a runas

>> script
>>> to run ncpa.cpl
>>>
>>> Any assistance with this would be greatly appreciated 🙂
>>>
>>>

>>
>>
>> --
>> Craig Wilson - MCNE, MCSE, CCNA
>> Novell Knowledge Partner
>>
>> Novell does not officially monitor these forums.
>>
>> Suggestions/Opinions/Statements made by me are solely my own.
>> These thoughts may not be shared by either Novell or any rational
>> human.

>
>



--
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
rhuhman1 Absent Member.
Absent Member.

Re: Bundle to launch Wireless Network Connection.lnk

Can they not use the wireless icon in the system try to attach to home networks? They could just do a View Available Networks and select the home network. Or have they removed access to this completely.

I have removed the Control panel and certain management tools closed down completely but not all of them. My students can still attach to home wireless just by browsing to that network.

Rich
0 Likes
dariusz71 Absent Member.
Absent Member.

Re: Bundle to launch Wireless Network Connection.lnk

The customer removes almost everything from the taskbar as well, now when I launch the .lnk it wants to know what to open it with. If I browser to c:\windows\explorer.exe it will open but it comes back with a Failed to Launch, no exit code error.


rhuhman;2055080 wrote:
Can they not use the wireless icon in the system try to attach to home networks? They could just do a View Available Networks and select the home network. Or have they removed access to this completely.

I have removed the Control panel and certain management tools closed down completely but not all of them. My students can still attach to home wireless just by browsing to that network.

Rich

- Dariusz Swierzewski
0 Likes
rhuhman1 Absent Member.
Absent Member.

Re: Bundle to launch Wireless Network Connection.lnk

Have you thought of using a script or something like it to do the same function? I just did some quick Google searching to see if anyone has tried to script wireless access. Here is something that you might consider. Not sure if this link will be valid since I haven't tried any of the options.

Native Wifi Functions - AutoIt Forums

I used a tool from engle.co.uk which at one time was free but is now a licensed software pack called ZWLANCFG. It worked well to migrate my system over to a new Wireless SSID when I took over the support for the current school district I work at.

On a side note... I would love to have backing this school district has to do some of this stuff. I turned off USB flash drive use in Windows recently and thought I was going to be lynched.
0 Likes
dariusz71 Absent Member.
Absent Member.

Re: Bundle to launch Wireless Network Connection.lnk

I will take a look at this script to see if it does what the customer is looking for. I work close with the folks at ENGL and their tool will not do what we want here. It works more for auto populating and deploying preconfigured WLAN.

This one is tough since the customer is locking down access to the network control panel and we have tried a number of things. I tried using the launch bundle but it wants a file association when it runs it. I can select explorer.exe but it will be hard to teach the end user to do that.

I also tried writing a batch script to do it and the DOS box stays open. Microsoft does not make things easy.


rhuhman;2055492 wrote:
Have you thought of using a script or something like it to do the same function? I just did some quick Google searching to see if anyone has tried to script wireless access. Here is something that you might consider. Not sure if this link will be valid since I haven't tried any of the options.

Native Wifi Functions - AutoIt Forums

I used a tool from engle.co.uk which at one time was free but is now a licensed software pack called ZWLANCFG. It worked well to migrate my system over to a new Wireless SSID when I took over the support for the current school district I work at.

On a side note... I would love to have backing this school district has to do some of this stuff. I turned off USB flash drive use in Windows recently and thought I was going to be lynched.

- Dariusz Swierzewski
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.