We help IT Professionals succeed at work.

running  a batchfile with run once registry key

320 Views
Last Modified: 2017-12-11
hello there

I am trying run a batch file which is added to run registry. the batch file call a registry file saved on the system
command I used is
regedit.exe /s c:\windows\custom.reg

After user logs in it runs good, but it will pop up "Adding information can unintentionally change or delete values and cause components to stop working" Are you sure you want  to continue.

How can I suppress this message.

Regards'
Comment
Watch Question

CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Author abandoned. Known and proven solution was provided.