failure to open network control panel applet as administrator

I

ILiya

w2k3
I'm trying to use the folloing string to start network applet:
%windir%\system32\runas.exe /user:computer\administrator "rundll32.exe
shell32.dll,Control_RunDLL ncpa.cpl"
I get no specific errors but the result is startup of file folder with c:\
as root.
I've checked the services and secondary logon service is up and running.
How to open network connections for management withont having to logon as
Administrator each time I need to change some network settings???

Thanks
 
J

Jamelia

Just type runas /user:computername\administrator ncpa.cpl (remove rundll32.exe
shell32.dll,Control_RunDLL)

Jamelia


w2k3
I'm trying to use the folloing string to start network applet:
%windir%\system32\runas.exe /user:computer\administrator "rundll32.exe
shell32.dll,Control_RunDLL ncpa.cpl"
I get no specific errors but the result is startup of file folder with c:\
as root.
I've checked the services and secondary logon service is up and running.
How to open network connections for management withont having to logon as
Administrator each time I need to change some network settings???

Thanks
 
I

ILiya

Thank you for your feedback Jamelia, but the thing apparently has its own
views on the subjec:
Enter the password for computername\administrator:
Attempting to start ncpa.cpl as user "computername\administrator" ...
RUNAS ERROR: Unable to run - ncpa.cpl
193: ncpa.cpl is not a valid Win32 application.
 
J

Jamelia

It looks like that ncpa.cpl is the only cpl-file that cant be running using runas. I should have check that out before I posted in
this thread. ..I'm sorry. Have a look at http://blogs.msdn.com/aaron_margosis/archive/2004/07/07/175488.aspx

Jamelia


Thank you for your feedback Jamelia, but the thing apparently has its own
views on the subjec:
Enter the password for computername\administrator:
Attempting to start ncpa.cpl as user "computername\administrator" ...
RUNAS ERROR: Unable to run - ncpa.cpl
193: ncpa.cpl is not a valid Win32 application.
 
I

ILiya

Thank you Jamelia the resource proved to be of help
Jamelia said:
It looks like that ncpa.cpl is the only cpl-file that cant be running
using runas. I should have check that out before I posted in
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top