#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    120
    Rep Power
    11

    Display windows registry string value via asp website


    hi

    Ist it possible and how it works to display windows registry string value via asp website?
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,436
    Rep Power
    4539
    It is possible if your web server user has proper permissions, but I wouldn't recommend manipulating the system registry from a web page.

    There are multiple approaches, you could write a custom com object, you could use windows wmi objects (probably), you could use registry functions in wscript. Google should turn up example code.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    120
    Rep Power
    11
    Thx, but I don't want to manipulate any registry keys.
    I would like just to read the string value and display via asp page.
    I'm not a programmer and cannot find an example for that what I want.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    120
    Rep Power
    11
    still cannot find a solution, can someone pls post en example?

    THX
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2007
    Location
    Charlotte
    Posts
    412
    Rep Power
    144
    Web pages should not be able to access something like that, security reasons. Too easy to create a virus that would do stuff improperly.
  10. #6
  11. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,436
    Rep Power
    4539
    I'm going to take a wild guess that if you put "read registry key from asp" in google you'd find the same long list of examples I see. Go through them to find an example that works for you.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    120
    Rep Power
    11
    Thx, but still cannot find a solution.

IMN logo majestic logo threadwatch logo seochat tools logo