Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to force a "Yes" response in a logon script

Posted on 2011-03-24
3
Medium Priority
?
456 Views
Last Modified: 2012-05-11
I have a logon script that points to a .reg file. This launches a request "are you sure" type window, with a "Yes" button.

I have tried the command "C:\mypath\myregitem.reg /y", but this does not provide the correct response.
0
Comment
Question by:HilltownHealthCenter
3 Comments
 
LVL 3

Accepted Solution

by:
OrenRozen earned 500 total points
ID: 35208860
use the folowing

reg import C:\mypath\myregitem.reg
0
 
LVL 4

Expert Comment

by:MaximumIQ
ID: 35209038
if you dont want user interaction, then run in silent mode

regedit /S C:\mypath\myregitem.reg
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 35209591
You have the answer there, but the other way is to lose the reg file and just use reg.exe to directly add the entries from command line, or use group policy to put the registry entries directly into the user's registry.
Steve
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Loops Section Overview
Suggested Courses

926 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