failure to open network control panel applet as administrator

  • Thread starter Thread starter ILiya
  • Start date Start date
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
 
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
 
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.
 
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.
 
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
 
Back
Top