Solved

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

Posted on 2011-03-24
3
449 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 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Salvaging a Windows XP system after failed in-place upgrade/repair 9 92
robocopy 6 64
How to combine txt files and change .txt extension 7 59
Error login w2012 domain 6 84
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…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
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…

831 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