?
Solved

logon script accessing HKLM with only user rights

Posted on 2006-06-07
6
Medium Priority
?
693 Views
Last Modified: 2013-11-13
I have this vbscript that changes or creates these three regestry entries

"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName"

"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword"

"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon"

well the HKLM i guess cannot be written to if your just in user mode. This script is a logon script. Is there anyway to get elevated privileges to run this script when the user logs on. I need it to automatically do it. I know I can logon in as a local admin and set it but thats not what I want to do.

thanks
0
Comment
Question by:Fubyou
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:shtson
ID: 16909971
Hai2u,

If you have a domain network, you can have a login script directly from the domains sysvol - that script runs with domain admin priviliges.

Cheers,
Shai
0
 

Author Comment

by:Fubyou
ID: 17059380
Please Delete This Question
0
 
LVL 5

Expert Comment

by:shtson
ID: 17059429
Why? I did answer it...
0
 

Author Comment

by:Fubyou
ID: 17171320
The script is allready there. It doeasn't work. When the user logs in that account doesn't allow anything to be written to HKLM. So I figured out a way for the script to have the same disired effects but it changes a part of the registry that can be modified by the current user's account.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 17262924
Closed, 500 points refunded.
ee_ai_construct
Community Support Moderator
replacement part #xm34
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question