Jump to content

Sticky Keys Prompt in unattended install


Recommended Posts

Other day when trying out my unattended install in vBox I had a prompt asking me if I wanted to turn sticky keys on or off. I thought nothing (much) of it as maybe I had tapped /something rested on the shift key.

 

However, its just happened again. This time I went through the motions of disabling this but it's slightly perplexing as to why this has only recently started happening.

 

Maybe I've gone a step too far with what I'm removing/tweaking with WinToolKit or maybe something in my autounattend file that's not jumping out at me.

 

Can someone cast a fresh eye over these in case I'm missing the obvious?

First, the ini file from WinToolKit. Only thing missing from this list here is the updates to keep it shorter!

*AIO#ComponentsAustralia Local PackBitLocker Drive EncryptionCanada Local PackClips In The LibraryCommon Modem DriversDelete 'Support' folderDVD MakerHyper-V VMBUS DriverIIS Addons 1IIS Addons 2INDEXING SERVICEInternet Explorer TroubleshootersInternet GamesMEDIA FEATURESMicrosoft AgentMicrosoft-Hyper-V-GuestMobile PC Client Components (Basic)Mobile PC Client Components (Premium)Mobile PC Client SideShow ComponentsMobile PC Sensors ALS DriverMusic and Video ExamplesMusic and Video Examples (Ringtones)New Zealand Local PackOEM Help CustomizationOFFLINE FILESParental ControlsPremium Inbox GamesPrinter DriversScan ManagementShare Media Control PanelSTICKY NOTESTV Tuner DriversUnited States Local PackVirtual XP Licensing PoliciesVirtualPC (USB)VirtualPC Licensing PoliciesWindows Anytime UpgradeWindows Anytime Upgrade ResultsWindows BackupWindows Media CenterWindows Media Codec PackWindows Media Codec Pack EncoderWindows Media Format RuntimeWindows Media PlayerWindows Media Player DVD RegistrationWindows Media Player Network Sharing ServiceWindows Media Player TroubleshootersWindows Search#ServicesBitLocker Drive Encryption::DisabledCertificate Propagation::DisabledDNS Client::ManualFax::DisabledOffline Files::MANUALParental Controls::DisabledSecondary Logon::DisabledSmart Card::DisabledSmart Card Removal Policy::DisabledWindows Defender::ManualWindows Media Player Network Sharing::ManualWindows Search::DisabledWorld Wide Web Publishing::Disabled#TweaksAdd 'Unpack' to *.msi context menuRemove 'Add to WMP list' from Audio context-menuRemove 'Print' from context-menuRemove 'Troubleshoot Compatiblity' from context-menuDisable Language BarTaskbar Buttons::Always combine, hide labelsAlways Show Menu BarsControl Panel View::Small IconsDisable 8.3 Name CreationDisable Last File Access TimestampDisable Low Disk Space NotificationDisable Search Online on Unknown File ExtensionsDisable Shortcut Link ResolveIncrease Icon CacheRemove 'HomeGroup' from ExplorerRemove 'Libraries' from ExplorerRemove Shortcut ArrowRemove Shortcut SuffixShow Drive Letters FirstShow File ExtensionsShow Hidden Files & FoldersShow System FilesDisable Auto Reboot after installing updatesDisable Windows Media Player AutoUpdatesShow Notepad StatusbarAlways Show Menu BarAlways Switch To New Tabs When They Are CreatedChange The Title of Internet Explorer::Elmers T'InterwebClear History on ExitDisable Default Browser CheckDisable First Run CustomizeDisable Internet Explorer to Check for UpdatesDisable Warning on Close (Tabs)Faster Browsing in IE IE Homepage::www.cl.cam.ac.ukRemove Links BarSet Google as Search ProviderShow IE StatusbarTurn Off RSS feed discoveryUnlimited Simultaneous DownloadsWhen a New tab Opens::A Blank PageWhen a pop-up is encountered::New TabAdministrative Tools::HideComputer::LinkConnect To::HideControl Panel::LinkDefault Programs::HideDevices and Printers::HideDocuments::HideDownloads::HideFavorites::HideGames::HideHelp and Support::HideHomegroup::HideMusic::HideNetwork::HidePersonal::HidePictures::HideRecent Docs::HideRecorded TV::HideRun::ShowVideos::HideSort All Programs menu by name::DisableNumber of recent programs to display::2Number of recent items to display in Jump Lists::1Disable Startup soundDisable User Account ControlShutdown QuickerDisable Automatic Restart on BSODDisable Dr WatsonDisable HibernationDisable NTFS EncryptionDisable Window 7 built-in CD/DVD BurningLarge System Cache::EnableTurn off system beeps#vLiteSpeech and Natural Language#UpdatesREMOVED FROM LIST FOR BREVITY#OptionsCompatibility CheckCreate BackupsEnable CMDIntegrate 'HDC' Drivers (boot.wim)Integrate 'SCSIADAPTER' Drivers (boot.wim)Integrate 'SYSTEM' Drivers (boot.wim)Log Registry Changes;Prepare Drivers;Prompt Addons;Prompt Drivers;Prompt GadgetsPrompt SilentPrompt Themes;Prompt Updates;Prompt WallpapersRebuild ImageShow Browse DialogShow Duplicates

And the autounattend.xml is:

I've also a fair few reg tweeks, only one of which would touch on "accessibility" and all that does is hides it from site in the Control Panel.

 

Oh, and dotNET 4.5 Slim gets installed.

 

Thanks in advance for any help.

Edited by ElmerBeFuddled
Link to comment
Share on other sites

The autounattend.xml (didn't want to show up above!!)

 

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SetupUILanguage>
                <UILanguage>en-US</UILanguage>
            </SetupUILanguage>
            <InputLocale>en-GB</InputLocale>
            <SystemLocale>en-GB</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-GB</UserLocale>
        </component>
        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <!-- DISK PARTITION START -->
            <DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>7</Label>
                            <Letter>C</Letter>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                </OSImage>
            </ImageInstall>
            <!-- DISK PARTITION END -->
            <Diagnostics>
                <OptIn>false</OptIn>
            </Diagnostics>
            <DynamicUpdate>
                <Enable>false</Enable>
                <WillShowUI>OnError</WillShowUI>
            </DynamicUpdate>
            <EnableFirewall>true</EnableFirewall>
            <UserData>
                <AcceptEula>true</AcceptEula>
                <FullName>Elmer B. Fuddled</FullName>
                <Organization>FEELGOOD-iNC</Organization>
            </UserData>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SkipAutoActivation>true</SkipAutoActivation>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComputerName>FEELGOOD-iNC</ComputerName>
            <TimeZone>GMT Standard Time</TimeZone>
        </component>
        <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <AllSitesCompatibilityMode>true</AllSitesCompatibilityMode>
            <DisableAccelerators>true</DisableAccelerators>
            <DisableFirstRunWizard>true</DisableFirstRunWizard>
            <DisableOOBAccelerators>true</DisableOOBAccelerators>
            <EnableLinksBar>false</EnableLinksBar>
            <Home_Page>http://www.carrona.org/dvrref.php</Home_Page>
            <BlockPopups>yes</BlockPopups>
            <SuggestedSitesEnabled>false</SuggestedSitesEnabled>
            <PlaySound>false</PlaySound>
            <ShowInformationBar>true</ShowInformationBar>
            <ShowMenuBar>true</ShowMenuBar>
        </component>
        <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <DisableWER>1</DisableWER>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SystemLocale>en-GB</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-GB</UserLocale>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <TimeZone>GMT Standard Time</TimeZone>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
            </OOBE>
            <AutoLogon>
                <Password>
                    <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Enabled>false</Enabled>
                <Username>Elmer B. Fuddled</Username>
            </AutoLogon>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
                            <!--PlainText>true</PlainText-->
                            <PlainText>false</PlainText>
                        </Password>
                        <DisplayName>Elmer B. Fuddled</DisplayName>
                        <Name>Elmer B. Fuddled</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <CommandLine>cmd /C %Windir%\Setup\Scripts\FirstLogon.cmd</CommandLine>
                    <Description>Launches Net45 and registry tweaks.</Description>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
        </component>
    </settings>

</unattend>
<!--Customized by myselfidem. For Windows 7 AIO all images-->
<!--OS to install and Disk Configuration dialog boxes will be displayed.-->
<!-- SKIPS DISK PARTITION SELECTION!!! ONLY CHOICE IS WHICH OS IMAGE TO INSTALL!!! -->

Edited by ElmerBeFuddled
Link to comment
Share on other sites

Aah Haa! Issue is resolved!

It appears to happen when dotNET 4.5 slim is being installed into the virtual machine. By the use of logging when it starts and ends I've discovered it takes anything from 10 to 15 minutes to fully install with mscorsvw.exe doing its thing. Its during this time I usually nip to the loo, do a brew, grab a sarnie, have a tab or two etc.. Today I thought I'd go and stand in the garden and catch some rays.

 

It was then I spotted my 27 yr old step-daughter rapidly tapping the shift key!!! Oh how she laughed!!

 

She's off out tonight. Wonder if she'll laugh tomorrow when she discovers I've changed her log in password that she thinks I don't know!!

 

Now one thing I would like to know. If I set network in the autounattend file to Public as opposed to Home the install fails on any version of Win 7 I try out in VBox. Is there any way I can do this? If I try to skip choosing a network I get the window prompting me to set one when I finally get to the desktop. Any ideas?

Edited by ElmerBeFuddled
Link to comment
Share on other sites

Laughed alot about the step-daughter issues :D btw, what's the finale? :D

 

Also, please post here your autounnatended.xml. I have that one with the network skipped just fine, don't know why that's happening to you.

 

 

LE: Nevermind, I saw it in your second post. Here's how mine looks like:

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="windowsPE">        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>en-US</UILanguage>            </SetupUILanguage>            <UserLocale>ro-RO</UserLocale>			<InputLocale>en-US</InputLocale>            <SystemLocale>en-US</SystemLocale>            <UILanguage>en-US</UILanguage>	        </component>        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <DiskConfiguration>                <WillShowUI>Always</WillShowUI>            </DiskConfiguration>            <ImageInstall>                <OSImage>                    <InstallFrom>                        <MetaData wcm:action="add">                            <Key>/IMAGE/NAME</Key>                            <Value>Windows 7 HOMEPREMIUM</Value>                        </MetaData>                    </InstallFrom>                </OSImage>            </ImageInstall>            <UserData>                <AcceptEula>true</AcceptEula>                <ProductKey>                    <Key>RHPQ2-RMFJH-74XYM-BH4JX-XM76F</Key>                    <WillShowUI>OnError</WillShowUI>                </ProductKey>            </UserData>        </component>    </settings>    <settings pass="specialize">        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <SkipAutoActivation>true</SkipAutoActivation>        </component>        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">			<ComputerName>Admin-PC</ComputerName>            <ProductKey>RHPQ2-RMFJH-74XYM-BH4JX-XM76F</ProductKey>        </component>    </settings>    <settings pass="oobeSystem">        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <UserLocale>ro-RO</UserLocale>			<InputLocale>en-US; ro-RO</InputLocale>            <SystemLocale>en-US</SystemLocale>            <UILanguage>en-US</UILanguage>        </component>		<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">             <TimeZone>GTB Standard Time</TimeZone>            <OOBE>                <HideEULAPage>true</HideEULAPage>				<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>                <NetworkLocation>Home</NetworkLocation>                <ProtectYourPC>3</ProtectYourPC>            </OOBE>            <AutoLogon>                <Password>                    <Value></Value>                </Password>                <Enabled>true</Enabled>                <LogonCount>2</LogonCount>                <Username>Administrator</Username>            </AutoLogon>            <UserAccounts>                <LocalAccounts>                    <LocalAccount wcm:action="add">                        <Password>                            <Value></Value>                            <PlainText>true</PlainText>                        </Password>                        <DisplayName>Administrator</DisplayName>                        <Name>Administrator</Name>                        <Group>Administrators</Group>                    </LocalAccount>                </LocalAccounts>            </UserAccounts>        </component>    </settings></unattend>

So, <NetworkLocation>Home</NetworkLocation> should do the trick and make the install process fully quiet.

 

 

Also, if you don't want the network location wizard to ever pop up, use this tweak:

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\NetworkLocationWizard]"HideWizard"=dword:00000001[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Network\NetworkLocationWizard]"HideWizard"=dword:00000001
Edited by RicaNeaga
Link to comment
Share on other sites

 

Laughed alot about the step-daughter issues :D btw, what's the finale? :D

 

Also, if you don't want the network location wizard to ever pop up, use this tweak:

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\NetworkLocationWizard]"HideWizard"=dword:00000001[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Network\NetworkLocationWizard]"HideWizard"=dword:00000001

 

After a couple of cups of coffee and whilst (she) was on a trip to the shop to get me some baccy, the step-daughters PC miraculously unlocked itself!

 

The SD learnt a lesson there. Don't use the same password to lock your PC that you was using when you were 14! She now has that sort of 'look of terror' as to what I may, or may not (not!) seen on her PC. I, of course, are remaining silent, but giving plenty of knowing smiles and winks out! Well, you have to take the mickey, don't you!

 

It was actually a Public Network I was trying to set in the autounattend file as opposed to a Home one. Although those registry key entries will come in very handy and a big Thanks for those!

Edited by ElmerBeFuddled
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...