Lerxst 2011-10-03 23:44
Windows 7 x64, Ultramon V3.1.0
I have two W7 users and have added display profiles for each, which are to be applied during login.
These doesn't work, however they work as intended if I apply them manually after logging in and when I switch user, but only when both users are logged in.
Both profiles are checked with "apply this display profile when logging in".
I have browsed these forums and found a vbs script called ApplyProfileDelayed which I edited with the proper W7 path to the profile, but they are still not applied when logging in.
If I run the vbs script manually it applies the profile correctly after five seconds.
I also found a post saying to run a registry fix, a file called ProfilesAndShortcuts.reg, but it didn't do anything other than remove the Ultramon icon (I have checked the registry script and there's nothing there that appears to be non-w7 specific entries.)
|
Christian Studer 2011-10-04 08:58
Might be a timing issue, try using a longer delay with the ApplyProfileDelayed script, for example 20 seconds. Let me know if that doesn't fix the problem.
Christian Studer - www.realtimesoft.com
|
Lerxst 2011-10-05 15:17
I increased the time from 5 to 20. No change, the profiles are still not being applied.
|
Lerxst 2011-10-05 15:18
Note: This is a brand new PC I built less than 3 weeks ago, fresh install of Windows and booting of a SSD disk, so there shouldn't be any delays or anything while a lot of unneccessary services are starting.
|
Christian Studer 2011-10-06 08:00
Please check if the script actually gets executed, to do this add the following line at the top of the script:MsgBox "Executing " & WScript.ScriptName You should now get a message 'Executing ApplyProfileDelayed.vbs' when logging in.
Christian Studer - www.realtimesoft.com
|
Lerxst 2011-10-09 03:39
Aha, that's the problem, it's not being executed.
The script path is c:\Users\User1\AppData\Roaming\RealTime Soft\Ultramon\3.1.0\Shortcuts
Thanks for your help so far, is there any way I can check (a registry setting, perhaps?) that the shortcuts do point to that directory?
When I rightclick the task bar icon and chose Shortcuts from the menu, ApplyProfileDelayed is in the sub menu (above New Shortcut and Manage Shortcuts), so it seems to be in the correct place. If I chose Manage Shortcuts a new window opens in the correct directory.
|
Christian Studer 2011-10-09 08:00
You'll need to place the ApplyProfileDelayed script or a shortcut to it into the Start Menu > Programs > Startup folder, that should fix the problem. This way the script will get executed during startup.
You'll have a shortcut to the UltraMon display profile in the Startup folder as well, you can safely delete this, otherwise the profile will get executed twice.
Christian Studer - www.realtimesoft.com
|
Lerxst 2011-10-09 16:43
That did the trick, thank you.
I decreased the execution delay time down to 1 second and the profiles are still being applied, thanks to the script.
I guess this could be a bug with UltraMon since neither the shortcut to the profile in the startup menu or the script in the shortcuts folder works...
But again, thanks.
|
Christian Studer 2011-10-10 10:58
Glad to hear that, not sure though why the profile by itself didn't work, this works fine for me on Windows 7.
Please note that placing a script into the shortcuts folder doesn't cause it to get executed at login, this only gets it listed under UltraMon menu > Shortcuts for easy access.
Christian Studer - www.realtimesoft.com
|