![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Reading from the registry I have a classic asp site and a function to read from the registry. I have two identical reg keys, one in HKLM and one in HCU. Using my vbscript function i can read from the HKLM key but not through the HCU. Is this something to do with pass through authenication? is there a way of reading a key from HCU. When I use the same function in a vbs file i can read from HCU. Can anyone point me in the direction of more information? regards Robert |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Reading from the registry Are you sure who the current user is? What if no one is logged on to the machine? (And the abbreviation is HKCU not HKU) -- Joe Fawcett (MVP - XML) http://joe.fawcett.name "Robert" <Robert@xxxxxx> wrote in message news:6A08903B-4FF9-4F87-97F3-D5260C3F4F0F@xxxxxx Quote: >I have a classic asp site and a function to read from the registry. I have > two identical reg keys, one in HKLM and one in HCU. > > Using my vbscript function i can read from the HKLM key but not through > the > HCU. Is this something to do with pass through authenication? is there a > way > of reading a key from HCU. > > When I use the same function in a vbs file i can read from HCU. > > Can anyone point me in the direction of more information? > > regards > > Robert |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Reading from the registry HKCU is not created for the iusr account as even though iis is running the application as iusr account it is not considered as logged on. The web application cannot therefore read from HKCU Robert "Joe Fawcett" wrote: Quote: > Are you sure who the current user is? > What if no one is logged on to the machine? > (And the abbreviation is HKCU not HKU) > > -- > > Joe Fawcett (MVP - XML) > > http://joe.fawcett.name > > "Robert" <Robert@xxxxxx> wrote in message > news:6A08903B-4FF9-4F87-97F3-D5260C3F4F0F@xxxxxx Quote: > >I have a classic asp site and a function to read from the registry. I have > > two identical reg keys, one in HKLM and one in HCU. > > > > Using my vbscript function i can read from the HKLM key but not through > > the > > HCU. Is this something to do with pass through authenication? is there a > > way > > of reading a key from HCU. > > > > When I use the same function in a vbs file i can read from HCU. > > > > Can anyone point me in the direction of more information? > > > > regards > > > > Robert > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Reading x86 or x64 registry from Powershell - Help with my script! | PowerShell | |||
| Problem reading registry remotely | PowerShell | |||
| Problem reading the registry | Virtual PC | |||
| Remotely reading HKLM registry key | Vista security | |||
| reading/writing registry values | PowerShell | |||