Registered member login:
Register Now
Altirigos » Deployment Solution » Scripting/Tools/Docs » Resolution Change Script

» Current Poll
Do you leave the Aclient enabled?
YES - 82.81%
106 Votes
NO - 17.19%
22 Votes
Total Votes: 128
You may not vote on this poll.
» Stats
Members: 9,488
Threads: 11,748
Posts: 55,278
Top Poster: Nick (4,981)
Welcome our newest member, johno
» Online Users: 32
0 members and 32 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
Reply
Old 06-25-2009, 12:28 PM   #1 (permalink)
 
Status: Altiris Admin
Join Date: 03-29-2009
Location: Wisconsin
Posts: 42


Resolution Change Script

How does everyone handle this?

As you all know, when you Sysprep a machine it sets the de facto resolution you set in the Sysprep.inf.

I work in an educational environment and we want our desktops set at 1024x768, and then laptops set at native resolution.

This works great:
12noon :: Display Changer

The problem with it is that it only works when someone is logged in (doesn't matter who).

Know of a way I can run it without someone being logged in? Or is there a way for the job to stay pending and only run once a user logs in?

Here is an example of one of the scripts:
\\deploy\express\scripts\Resolution\dccmd.exe -width=1024 -height=768 -depth=32 -refresh=max -apply -quiet
Petrucci914 is offline   Reply With Quote
Old 06-25-2009, 03:54 PM   #2 (permalink)
 
Status: Super Altiris Admin
Join Date: 02-13-2008
Location: Chicago
Posts: 149


This should work for you

1) setup your script in a batch file - like "resolution.bat" - in the file you will place your script you have listed and save the file on a share somewhere.

2) setup a job with the following - this will add "resolution.bat" to the runonce in the registry

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run Once /v RES /d \\servername\scripts\resolution.bat /f

RES can be whatevever you want (this is the name that will show up in the registry

Hope this helps.
almanza is offline   Reply With Quote
Old 06-25-2009, 04:26 PM   #3 (permalink)
 
Status: Altiris Admin
Join Date: 03-29-2009
Location: Wisconsin
Posts: 42


Hey, that works! Sweet!

Now I just need to put it in an area where domain users/authenticated users have right to. Maybe the DC SysVol folder? Is there a token/wildcard for the DC they have authenticated to?

Thanks!
Petrucci914 is offline   Reply With Quote
Old 06-25-2009, 04:39 PM   #4 (permalink)
 
Status: Super Altiris Admin
Join Date: 02-13-2008
Location: Chicago
Posts: 149


I am not sure about a wildcard that can be used (maybe someone else might know of one) -

to get around that issue you could setup the job to copy your batch file locally and then have the job run from c:\folder\filename.bat instead of running it from the server so this way you don't worry about what DC the users hit
almanza is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 01:20 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos