Thursday, November 22, 2012

Sysprep and screen resolution

I learned that sysprep by default has an automatic setting for the screen resolution. 1024x768. A bit annoying as it defaults to that resolution no matter what monitor it is using. The solution is to remove the setting completely from the unattend.xml file in the task sequence used for deployment.

Thursday, November 8, 2012

UltraVNC.. revisited

I decided to try again with version 1.0.96.2. Looks promising.

UAC affects SAS (secure attention sequence) that Windows 7 uses to send CAD (CTRL-ALT-DEL) to logon.  By default, only Windows can issue the SAS for CAD.  So this will prevent some programs, such as UltraVNC from issuing this command to logon. I thought it was related to UAC, but it seems not.  Whether UAC is on or off, by default unable to send a CAD.

There are a couple ways around this. Preferred is group policy, but a quick fix can be done via reg.exe.

1.       Click the Start Windows button, select Run, type gpmc.msc and press enter.

2.       In the left section, select the desired domain, then right-click and choose Create a GPO in this domain, and link it here.

3.       Right-click the new GPO and select Edit.

4.       In the left section, please navigate to: Computer Configuration - Administrative Templates - Windows Components - Windows Logon Options

5.       In the right section, please double-click on the Disable or enable software Secure Attention Sequence policy and click on Enabled.

6.       Set the policy option to Services.

The other solution is:

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v SoftwareSASGeneration /t REG_DWORD /d 1 /f
UltraVNC can be installed with the defaults, with a few changes to the ultravnc.ini file to improve the screen refresh.

[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=1
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=1
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=

References

http://www.urtech.ca/2011/08/solved-ultravnc-cant-send-control-alt-del-on-windows-7-64bit-or-server-2008-r2/