Solved

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

Posted on 2011-03-24
3
447 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
Comment Utility
use the folowing

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

Expert Comment

by:MaximumIQ
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now