How to open setting of the specific network adapter via commandline in Windows 7 Enterprise?
I'm under domain user but also have access to local administator user.
Under domain user I have no rights to do this (to open this settings tab) and want to do this like RUNAS in order to avoid secondary login.
I tried
ncpa.cpl
but this opens list of adapters whereas I want to open settings of specific adapter
netsh interface ip set address "Local Area Connection" static ipaddr subnetmask gateway metric
for instance which you could run withrunas
)ncpa.cpl
as another user? Just dorunas /user:you_local_admin_user ncpa.cpl
. Would that work?ncpa.cpl
is not a valid Win32 App. Howeverrunas /u:you_local_admin_user "cmd /c ncpa.cpl"
worked ok. You could make a shortcut or (doskey) alias for that.