Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set a program to have full rights. (always) 1

Status
Not open for further replies.

Mudassar

Programmer
Oct 3, 2000
110
AU
I run a small net Cafe and I have set all my computers as "user" access (Windows XP). This prevents users from changing network settings and such.

I have 2 medium speed internet connections, so when one gets full, I change the network address to the second connection manualy (log as admin, change settings, log off, log back in as user)

This is time consuming, so I have created a program in visual basic 6 which changes the network settings automaticaly with a click of a button! This then allows my customers to change network settings, without any risks of stuffing anything up. (all they do is click a button :) )

My program works fine when logged in as Administrator, but doesn't allow network changes to be made as a user.

I used the RunAs command and typed in my admin name and pass and it worked fine that way, but I would have to type this user name and pass everytime I load the program.

Is there a way that I could run my program without having to type user name and pass all the time? Like save the user/pass info on a shortcut or script?


-----------------
MK
 
Seems too good to be true! I'll let you know how it goes tomorrow :)

One question, all the username's and password's on the client pc's are the same. So can I just make 1 file with Palmer's program from 1 pc and copy it without having to install and compile on every pc?

-----------------
MK
 
. right-click My Computer, Manage, and expand Local users and Groups, Groups.

Add the Group Everyone to the Group Network Configuration Operators.

 
Not sure about your question, maybe you can let us know the answer, if you go that way.

Have a look at what Bill is suggesting, that may be easier?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top