• [Script of Apr. 9] How to Delete the "Windows.old" Folder in Windows 8 (PowerShell)

    Script Download:DeleteWindowsOld.zip
    http://gallery.technet.microsoft.com/scriptcenter/How-to-Delete-the-912d772b

    This PowerShell script shows how to delete the "Windows.old" folder in Windows 8.

    Assume that you perform a refresh of Windows 8, an upgrade to Windows 8, a custom installation of Windows 8 without formatting the drive, or install Windows 8 on the same partition of a previous Windows installation. In this situation, you may have a "C:\Windows.old" folder left over after your new installation. This folder contains a copy of the previous Windows 8 installation, and can be very large. If users do not have to have this folder, they can use a script to delete the folder.

    image image
    image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Apr. 10] Script to refresh Windows 8 (PowerShell)

    Script Download:RefreshWindows8(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-refresh-Windows-eca1e59a

    This PowerShell script shows how to create custom refresh image. 

    Windows Refresh gives you a quick and easy way to start with a clean slate while also maintaining your apps, data, Windows settings, and user profile. 

    image image
    image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Apr. 11] Setting Tab Process Growth for Internet Explorer (VBScript)

    Script Download:SettingIETabProcessGrowth(VBScript).zip
    http://gallery.technet.microsoft.com/scriptcenter/Setting-Tab-Process-Growth-4ead21ac

    This sample can help you to operate the “TabProcGrowth” registry entry to set Tab Process Growth(Sets the rate at which IE creates New Tab processes) for Internet Explorer 8 or later.  It shows how to get and set Tab Process Growth setting for the Internet Explorer installed on your computer by using VBScript.

    If you have been using IE7, you are probably used to all your tabs opening under the same iexplore.exe process. The only exception is if you are on a Windows Vista machine and you are moving from Protected to Unprotected mode. 
    Internet Explorer 8 or later had a big makeover in this area. You will now notice that new tabs typically open in a new process.  By default,  IE8 will start with two instances of iexplore.exe (one for the Frame, one for the tab) and grows the number of tab processes as needed based on the amount of available RAM, the number of tabs, the integrity levels for tabs, and the number of distinct IE sessions .

    image image
    image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Apr. 12] Setting Tab Process Growth for Internet Explorer (PowerShell)

    Script Download:SettingIETabProcessGrowth(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Setting-Tab-Process-Growth-5e52fe62

    This sample can help you to operate the “TabProcGrowth” registry entry to set Tab Process Growth(Sets the rate at which IE creates New Tab processes) for Internet Explorer 8 or later.  It shows how to get and set Tab Process Growth setting for the Internet Explorer installed on your computer by using PowerShell script. 

    If you have been using IE7, you are probably used to all your tabs opening under the same iexplore.exe process. The only exception is if you are on a Windows Vista machine and you are moving from Protected to Unprotected mode. Internet Explorer 8 or later had a big makeover in this area. You will now notice that new tabs typically open in a new process.  By default,  IE8 will start with two instances of iexplore.exe (one for the Frame, one for the tab) and grows the number of tab processes as needed based on the amount of available RAM, the number of tabs, the integrity levels for tabs, and the number of distinct IE sessions .

    image image
    image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Apr. 15] Check whether disk partitions contain the correct 4KB alignment (VBScript)

    Script Download:Check4kAligned.zip
    http://gallery.technet.microsoft.com/scriptcenter/Check-if-disk-partitions-17c6927b

    This script can be used to check whether a user’s disk partitions contain the correct 4KB alignment. Over the next few years, data storage will transition from a physical format of hard disk drives that are in 512-byte sectors to 4,096-byte sectors (also known as 4K or 4KB sectors) hard disk drives. This change includes increases in storage density and reliability.  Many customers have to know whether their disk partitions have the non-4kb alignment issues which can cause incompatibility issues with existing software (including operating systems and applications).

    We can use the Check4kAligned function to check whether user’s disk partitions contain the correct 4kb alignment.

    image image
    image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery