/build/static/layout/Breadcrumb_cap_w.png

rez_change.exe with file switch not working

Hi,

We're using the post install task to set the screen resolution as recorded in the get_screen_rez.exe with the /file switch in order to apply the screen resolution but it's failing with the following error:

Unable to change screen resolution

Error function call change display settingsex 1

 

 Error code

 

-1 disp_change_failed

 Requested settings:

 

Width 1024

Height 768

Bitspp 32

Refresh Rate 60

I've made sure that the monitor can handle these settings but the task just doesnt seem to set the resolution.  I also tried it without the /file switch and it works when you choose the resolution for a list given.  

Anyone managed to get the /file switch working?

We're using Windows 7 SP1 x64.

 

Thanks


0 Comments   [ + ] Show comments

Answers (1)

Posted by: SMal.tmcc 11 years ago
Red Belt
1

if you are using the /file switch you need to use the other rez tasks to create the file,  the /file will pick up os drive\KACE\bin\resolution.txt

http://www.kace.com/support/resources/kb/article/post-installation-to-change-screen-resolution-on-the-k2000


Comments:
  • Hi SMal.tmcc

    This is what I'm doing and I can see the .rez file that is created on petemp share but the /file switch doesn't work. I get the error as detailed in my original post. - tomlockbart 11 years ago
  • is this a scripted install or a deployed image? - SMal.tmcc 11 years ago
  • Hi,

    Scripted install

    T - tomlockbart 11 years ago
  • it could be due to the fact the correct video driver in not yet installed in your scripted install till reboot after post tasks. - SMal.tmcc 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ