RegRestoreKey


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

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?

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center