Granting Security Permissions

I

Ian Henderson

I have written an application, using VB.NET 2002 which can control the
W32Time service (aka "windows time"). Basically, what it does is stops the
service, waits for 5 seconds, then configures it and restarts it.

Now, the only way I can get this application to work is to have it trusted
by the machine that is running it. This however is going to cause problems
when I deploy it, since I would then have to go around every machine in our
office (around 150 at the last count), and manually have them trust the
assembly. Furthermore, any modification made to the assembly would require
each machine to be set up with the trust again.

Is there any way of programmatically fixing the application so that, when
loaded, it automatically assumes the user permissions necessary to allow the
W32Time service to be stopped, configured and then restarted?

TIA



Ian Henderson
Database Developer, VBA Programmer and very Novice VB.NET 2002 Developer

Now, this application works on my machine, becau
 
I

Ian Henderson

Pardon my ignorance, but what do you mean?

Surely you don't mean SMS as in Text Messages, do you?

If this can be done using VS2002 then I'm seriously interested.

Ian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top