Solved

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

Posted on 2011-03-24
3
451 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
OrenRozen earned 125 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

710 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