Jump to content

Recommended Posts

Posted
@Adiel

If you're willing to use a script, try this one. Please, test it first on your current Windows. Let me know the result.

Save it as royale.js, then click it.

var WshShell = WScript.CreateObject ("WScript.Shell");

WshShell.RUN ("%systemroot%\\Resources\\Themes\\Royale.Theme");

WScript.Sleep(5000);

WshShell.AppActivate("Display Properties");

WScript.Sleep(500);

WshShell.SendKeys ("{TAB 2}");

WScript.Sleep(500);

WshShell.SendKeys ("{ENTER}");

WScript.Sleep(10000);

Been following this through and tested various setups but still can't get it to work.

Mazin, how do you setup your script to work?

Thanks

orion2


Posted

I can get the script to work purely on its own by double clicking it, but wondering how to I get it to run from unattended - where do I put it?

At pressent I have placed my cmdlines.txt, RunOnceEx.cmd and cleanup.cmd all within the $oem$ folder (is this right) ?? If not where do they go ??

Cmdlines.txt

[COMMANDS]
"RunOnceEx.cmd"

RunOnceEx.cmd

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\070 /VE /D "Applying Royale Theme"
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\royale.js"

REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /f

EXIT

cleanup.cmd

cmdow @ /HID
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
net user aspnet /delete

How do I activate and get the script that mazin has (royale.js) to run from unattnded ??

I feel I'm not that far away from getting it, but need some help.

Thanks

:thumbup

Posted
[shell]    DefaultStartPanelOff=No

    CustomDefaultThemeFile="%WinDir%\Resources\Themes\OpusOS\OpusOS.msstyles"

now

i have shell.reg

u can c what those key contains in ur PC, it won't be same in all PC

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}]@="Themes Setup"

"ComponentID"="Theme Component"

"IsInstalled"=dword:00000001

"Locale"="EN"

"StubPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

  74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,\

  00,65,00,67,00,73,00,76,00,72,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,\

  2f,00,73,00,20,00,2f,00,6e,00,20,00,2f,00,69,00,3a,00,2f,00,55,00,73,00,65,\

  00,72,00,49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,20,00,25,00,53,00,79,00,\

  73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,\

  00,74,00,65,00,6d,00,33,00,32,00,5c,00,74,00,68,00,65,00,6d,00,65,00,75,00,\

  69,00,2e,00,64,00,6c,00,6c,00,00,00

"Version"="1,1,1,7"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]

"WCreatedUser"="1"

"ThemeActive"="1"

"LoadedBefore"="1"

"LastUserLangID"="1033"

"DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

  74,00,25,00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\

  00,54,00,68,00,65,00,6d,00,65,00,73,00,5c,00,4f,00,70,00,75,00,73,00,4f,00,\

  53,00,5c,00,4f,00,70,00,75,00,73,00,4f,00,53,00,2e,00,6d,00,73,00,73,00,74,\

  00,79,00,6c,00,65,00,73,00,00,00

"ColorName"="NormalColor"

"SizeName"="NormalSize"

[HKEY_USERS\S-1-5-21-1390067357-688789844-1957994488-1003\Software\Microsoft\Windows\CurrentVersion\ThemeManager]

"WCreatedUser"="1"

"ThemeActive"="1"

"LoadedBefore"="1"

"LastUserLangID"="1033"

"DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

  74,00,25,00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\

  00,54,00,68,00,65,00,6d,00,65,00,73,00,5c,00,4f,00,70,00,75,00,73,00,4f,00,\

  53,00,5c,00,4f,00,70,00,75,00,73,00,4f,00,53,00,2e,00,6d,00,73,00,73,00,74,\

  00,79,00,6c,00,65,00,73,00,00,00

"ColorName"="NormalColor"

"SizeName"="NormalSize"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...