Jump to content

Recommended Posts

Posted
Sorry if this has been asked before I need to change the resolution for one user to 800 600, found this - qres.exe and want to run it as a startup script in gpo. Totally useless with scripting and would really apprecate dummies guide to using this utility. Thanks
Posted

Take your pick :)

 

Batch file: (setres.cmd)

 

@echo off
P:\Scripts\Qres.exe /X:800 /Y:600
exit

 

VBScript: (setres.vsb)

 

Set shell=wscript.createobject("wscript.shell")
shell.run "P:\Scripts\Qres.exe /X:800 /Y:600"
exit

Posted
That was quick! Thanks now as I said I need a dummies guide. Understand the basis of the script but where do I put the qres.exe file, where do I put the script and how do I include it as a startup script. (I am that dum)
Posted

You can put the qres.exe anywhere you like (eg network share) providing the system has permission to run it. In which case, you can use UNC paths such as \\server\share\qres.exe.

 

Where you launch it from depends on your current setup. Do you already have a script that maps network drives and sets up printers per-user or per-computer?

Posted

Put Qres.exe whereever you like, as it relates to a login script I'd but it with this.

 

I'd but the Login script on \\server\netlogon

 

To make the script a login script open up the properties for the user in AD and add the path to the login script under the profile tab.

 

If you put the script in netlogon you just need to put the name in the box, not the whole path.

Posted

We use a batch file to map drives

 

net use etc

 

and a printui script to install printers.

 

I need it to run for one user but also to reset the resolution back for other users.

 

thanks

Posted

I did it through Group Policy - I made an OU called "ScreenResolution" or similar, and put the relevant people in that, applied the same policies as are applied to the Kids OU, and then just added a logon script for that OU to set the screen resolution to 800x600.

I then setup a logon script for the Kids OU to set it back to 1024x768.

 

I forget where in the Group Policy Editor it is and I won't have access to my test domain for another week - but I'm sure someone else can point it out. :wink:

Posted

Thanks for the guidance - sorted now script to run at logon and one at logoff to restore screen resolution. I've put qres.exe in netlogon at the moment, should it go in different folder?

 

Now what I need is a script to deny access to all users desktop so the child has a few selected desktop icons - anyone?

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



×
×
  • Create New...