Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

halikus

Member
  • Joined

  • Last visited

  • Country

    Canada

Everything posted by halikus

  1. might have to try that, I leave it in there so I can keep messing with it Pick one. FileWrite($file, ' <component name="Microsoft-Windows-powercpl" processorArchitecture="' & $OSArchitecture & '" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' & @CRLF) FileWrite($file, ' <PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>' & @CRLF) ;FileWrite($file, ' <PreferredPlan>' & $Powercpl & '</PreferredPlan>' & @CRLF) ;FileWrite($file, ' <PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>' & @CRLF);High Performance ;FileWrite($file, ' <PreferredPlan>a1841308-3541-4fab-bc81-f71556f20b4a</PreferredPlan>' & @CRLF);Power saver ;FileWrite($file, ' <PreferredPlan>381b4222-f694-41f0-9685-ff5bb260df2e</PreferredPlan>' & @CRLF);Balenced FileWrite($file, ' </component>' & @CRLF & @CRLF)
  2. I'm not 100% sure, but i think the only reliable way to do what you want is to use bcedit in conjunction with a firstlogon.cmd. As an example, i do something similar with autoit to rename the bcd title in case of a dual boot. Its friday and this is my last web page i visit before going out, so i don't have the time to convert to cmd. If @OSVersion = "WIN_8" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\8.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\8", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\8", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8.cmd", @ScriptDir, @SW_HIDE) ;Win8 Safemode to BCD RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} safeboot Minimal', "", @SW_HIDE) ;Runwait(@ComSpec & ' /c ' & @WindowsDir & '\system32\reagentc /enable', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /copy {current} /d "Windows 8 (Safe Mode)"', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /deletevalue {current} safeboot', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} bootmenupolicy standard', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & "\system32\bcdedit /timeout 10", "", @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x86.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar86.cmd", @TempDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x64.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar64.cmd", @TempDir, @SW_HIDE) EndIf EndIf If @OSVersion = "WIN_81" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\8.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\8", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\8", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8.cmd", @ScriptDir, @SW_HIDE) ;Win8 Safemode to BCD RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} safeboot Minimal', "", @SW_HIDE) ;Runwait(@ComSpec & ' /c ' & @WindowsDir & '\system32\reagentc /enable', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /copy {current} /d "Windows 8.1 (Safe Mode)"', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /deletevalue {current} safeboot', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} bootmenupolicy standard', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & "\system32\bcdedit /timeout 10", "", @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8.1 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x86.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar86.cmd", @TempDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8.1 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x64.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar64.cmd", @TempDir, @SW_HIDE) EndIf EndIf ;Win7 If @OSVersion = "WIN_7" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\7.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\7", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\7", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7.cmd", @ScriptDir, @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 7 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\7x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\7x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7x86.cmd", @ScriptDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 7 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\7x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\7x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7x64.cmd", @ScriptDir, @SW_HIDE) EndIf EndIf
  3. I'll use this as an example. Just double the reference and have one for each architecture. Notice the pattern. <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>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> <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> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="1" wcm:action="add"> <Path>\sources\$OEM$\$$\PnPdrvrs\w7x64</Path> </PathAndCredentials> </DriverPaths> </component> <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="1" wcm:action="add"> <Path>\sources\$OEM$\$$\PnPdrvrs\w7x86</Path> </PathAndCredentials> </DriverPaths> </component> </settings>
  4. I believe this will help you. Just have your drivers (or driverpacks) extracted in as many subfolders as you want and it will find it during install. Have them in "dvdroot"\sources\$OEM$\$$\PnPdrvrs\w7x64 or whatever you want to name the final directory. A caviat is that for an all in one install it will copy both architectures wasting a little time. <settings pass="windowsPE"> <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="1" wcm:action="add"> <Path>\sources\$OEM$\$$\PnPdrvrs\w7x64</Path> </PathAndCredentials> </DriverPaths> </component> <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="1" wcm:action="add"> <Path>\sources\$OEM$\$$\PnPdrvrs\w7x86</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="1" wcm:action="add"> <Path>\Windows\PnPdrvrs\w7x64</Path> </PathAndCredentials> </DriverPaths> </component> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="1" wcm:action="add"> <Path>\Windows\PnPdrvrs\w7x86</Path> </PathAndCredentials> </DriverPaths> </component> </settings>
  5. yes. http://technet.microsoft.com/en-us/library/cc749415%28WS.10%29.aspx I use desktop icons on my PE to direct to start.exe and an unattended, and i put one in the panther directory in the wim to have it as a default. You will need a x86\x64 universal unattend file if you have both architectures.
  6. Hers a simple one i use. They should all be x86\x64 IMO. This one you have to enter your account name. Just add to it. If you use DISM to enter the key it wont ask for a key and the unattended file will work on all editions. <?xml version="1.0" encoding="utf-8"?> <!--This answer file generated by Andy--> <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> <InputLocale>0409:00000409</InputLocale> <UserLocale>en-US</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </component> <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>0409:00000409</InputLocale> <UserLocale>en-US</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </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"> <UserData> <AcceptEula>true</AcceptEula> </UserData> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> </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"> <UserData> <AcceptEula>true</AcceptEula> </UserData> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> </component> </settings> <settings pass="oobeSystem"> <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"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Description>Post Setup OEM</Description> <Order>100</Order> <CommandLine>cmd /c %WINDIR%\Setup\Scripts\firstlogon.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> </OOBE> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>Eastern Standard Time</TimeZone> <ShowWindowsLive>true</ShowWindowsLive> </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"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Description>Post Setup OEM</Description> <Order>100</Order> <CommandLine>cmd /c %WINDIR%\Setup\Scripts\firstlogon.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> </OOBE> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>Eastern Standard Time</TimeZone> <ShowWindowsLive>true</ShowWindowsLive> </component> </settings> <settings pass="specialize"> <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>Win7</ComputerName> </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>Win7</ComputerName> </component> <component name="Microsoft-Windows-Security-Licensing-SLC-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-Security-Licensing-SLC-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="Security-Malware-Windows-Defender" 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"> <DisableAntiSpyware>false</DisableAntiSpyware> </component> <component name="Security-Malware-Windows-Defender" 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"> <DisableAntiSpyware>false</DisableAntiSpyware> </component> </settings> </unattend>

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.