[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


command "qres" only works in user logon script not computer startup script  WindowsXP/2000

Posted on 2007-08-03
Medium Priority
Last Modified: 2013-11-05
I have a utility called qres.exe that can change the display/ monitor properties using a script.  I have a command that changes the display res/refresh.  This command woks in the user logon script but wont work under computer startup.  Does anyone have any ideas why this might  be ?  

Question by:sean-keys
  • 3
LVL 31

Expert Comment

ID: 19629097
If you use this with command line switches create a batch command and call the exe

@echo off
call qres.exe -[parameters]

save as qres.bat and place in startup folder for All users

LVL 12

Accepted Solution

zoofan earned 2000 total points
ID: 19629100
Display settings including screen resolutions are User specific settings, therfore they will not applly until a user logins.  


Author Comment

ID: 19629747
I'm trying to use group policy under the computer settings section, but it seems this may not be possible after reading zoofan's comment.  It may have to stay under the user settings section. Unless someone else has any input.
LVL 12

Expert Comment

ID: 19629786
I am not sure what your complete objective with this is or what your starting point is for user profiles but one other option you have is to create a custom "default users" profile.  Any user logging in without an existing profile will have the "default users" profile applied to there account and it will include screen resolution at what ever you set during build up.  This "default users" profile can also be deployed domain wide by putting it in the %systemroot%\sysvol directory aka: NETLOGON share of the dc's.  If more then one DC it should be placed in all.  From that point you could use a gpo to restirct the users from access to display settings and force it.    Again I dont know your whole status as if you have preexisting profiles wiping them out merely to set screen res probably would be a bad idea,  but if your users profiles are all new this may help.

see also a "preconfigured profile"

and also "creating a base user profile"
LVL 12

Expert Comment

ID: 19629799
I am unaware of the caveat of microsoft forceing screen res at the user level instead of the machine level as its just makes more sense to limit this ina hardware profile as the machine has the limits not the user.  IE as a user setting a user can log into a machine that can not support his/her current profile settings but making this machine specific would elminate that.

ahh well, I am sorry you didnt get the answer you'd hoped for as I myself wish it were true.


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about cloud computing and its benefits for small business owners.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

834 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