Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2003, 05:38 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Set Registry Value as Administrator

Hello,

I have been trying to find a way to Set/Modify key values that need to have Admin Privileges with out being logged on as the Administrator.

Yes, I am an Administrator and I could go from one computer to the next and use the command "runas /user:Administrator myprogram.exe" and then enter my password - But, I am looking for a way to set it all up in a file that I can distribute on the network and be executed when the normal user logs on.

I have found many useful tips, and scripts on how to edit the registry with the advapi32.dll, but none so far that will do what I want without being logged on as a Administrator.

Any help on this would be greatly appreciated.

Tod

PS - An embedded User Name and Password approach would be acceptable.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Administrator Password for Webshop mcarol44 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 October 11th, 2007 05:02 PM
Webshop Administrator password mcarol44 ASP.NET 2.0 Professional 1 October 11th, 2007 04:17 PM
Administrator webforms nabeelalkaff BOOK: ASP.NET Website Programming Problem-Design-Solution 2 September 10th, 2006 11:09 AM
Can't log in as Administrator in CMS arnoler BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 August 31st, 2006 09:36 AM
Administrator Password and WebServices r_ganesh76 .NET Web Services 2 September 21st, 2004 02:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.