WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How Rename a Username without having Administrator Rights

Keywords:     WinINstall  servany  SRVANY

Question:

Is it possible to write a program in Winbatch that gives a user the possibility to rename his own login or the login of someone else without giving him administrator rights or the administrator password.

Answer:

If you've got a product such as WinInstall running on the machine, you can use Winbatch to present a fancy change box to the user, and then Winbatch can post the request to WinInstall's priviliged service, which can make the change for you. This would allow the user to make the change, while not allowing other changes from them.

If you haven't, you can't. (or there may be a shareware thing around to do such a thing.)

Also, how about writing a winstall program that actually does the work with no interations, use servany (SRVANY) to install it as a service, and then write your winbatch script to send the message to this service, which has the rights to do the changes.


Article ID:   W13179
Filename:   Rename a Username without Admin Rights.txt
File Created: 1999:04:15:16:52:16
Last Updated: 1999:04:15:16:52:16