Runnig Batch files.

Microsoft Windows xp professional w/serv...
November 23, 2009 at 02:31:59
Specs: Windows XP
I want to run a batch file no matter the account, computer or respective rights. I want to change IP and GW without logging off a simple user. And i want to run it with rights of a network configurator, rights i want the batch file to get straight from the registry, without asking for a username and a password. I was thinking kind of like a virus executes himself without requesting any username or password. i am using WinXP pro sp3.

See More: Runnig Batch files.

Report •

November 23, 2009 at 03:20:45
So you want to by pass all the built in security checks of the computer to do something a legitimate user can do very easily.

BTW, you wont change the IP address and gateway, I take it that is what you mean by GW, without resetting the modem/router and you definitely need a password for that. Any attempt to do so with going through the correct proceeder will just disconnect you from the network.


Report •

November 23, 2009 at 04:32:19
Dude thanks for the answer. But i think u haven't got it right.
Let me more clear. i built a bat script using netsh to change the IP and the Gateway of a computer. There are some Managers at my work who travel a lot at our branches so they have to change the IP and GW every time the do this. Now they don't have permision to change them being only power users, so i thought creating a batch and running it as local admin, providing the pasword. Now the problem is that not every local admin has got the same password, so i thought to ad a string to the bat so it runs as a proccess when you run it getting the rights straight from the SID of the registers. Normally the SID of network Configurator so they can run it any time without needing any special permissions.

Report •

November 23, 2009 at 05:40:44
Have a look at an application called Mobile Net Switch - network connection manager

It's a whole lot better than a batchfile. We use it where I work for all mobile users and it works very well.

Report •

Related Solutions

November 23, 2009 at 05:49:55
Nice program. yes i could use that. Anyway i would have loved if I did it all by myself. you know what i mean. I program it and see it work... and i feel gooooooddd :).

Report •

Ask Question