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

Posted on 2007-08-03
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
    LVL 32

    Expert Comment

    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

    Display settings including screen resolutions are User specific settings, therfore they will not applly until a user logins.  


    Author Comment

    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

    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

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
    Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now