Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

[Windows 8.1] RunOnceEx does not work


  • Please log in to reply
No replies to this topic

#1
DMD61

DMD61

    Newbie

  • Member
  • 40 posts
  • Joined 23-May 08
  • OS:Windows 7 x86
  • Country: Country Flag

Good evening
Excuse me for the mistakes I'm using google translator

 

I would use the instrallazione in sequence of the various software via RunOnceEX from external support as I used without problems in Windows 7.
In Windows 8.1 when launching the file "RunOnceEx.cmd" I get the access denied message, due to the permissions of an administrator.
Also, the launch of the self-extracting files they need the permission of the administrator, this happens even with UAC disabled.
This is the script that I use as a test:

 

@Echo Off

SET PP=E:\Test_RunOnce\Progetto\Applicazioni_RunOnce

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx /f
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f

REG ADD %KEY% /V TITLE /D "Software Aggiuntivo" /f

REG ADD %KEY%\0002 /VE /D "Installazione Programmi..." /f

REG ADD %KEY%\0080 /V 1 /D "%PP%\0080_7-Zip_9.20.exe" /f
REG ADD %KEY%\0940 /V 1 /D "%PP%\0940_FastStone_Viewer_5.1.exe" /f

REG ADD %KEY%\3030 /V 1 /D "%PP%\3030_Restart.cmd" /f
pause
ENDLOCAL
EXIT



And 'possible to solve this problem or do I adopt another procedure?

 

Sincerely thank


Edited by DMD61, 18 December 2014 - 03:07 PM.



How to remove advertisement from MSFN



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users