DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: RegRestoreKey

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    RegRestoreKey

    [Originally posted by Emrah ่ener]

    I'm working on WinNT, i want to catch the changes on
    "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{Ethernet Adapter}\Parameters\Tcpip"
    First, i saved this key using RegSaveKey function.
    then use RegNotifyChangeKeyValue to catch changes.
    When any change exists, i want to restore this key from file that i alread saved. There isn't any problem about saving or notifying but when i want to restore the key , the RegRestoreKey function returns "5" (Access is denied).
    How can i solve this problem???

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:RegRestoreKey

    [Originally posted by m.posseth@work]

    are you sure that the program has admin priviliges ?????


  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:RegRestoreKey

    [Originally posted by Emrah ่ener]

    SE_BACKUP_NAME and SE_RESTORE_NAME privileges are enabled. Which privileges must i enable except these?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links