• [Script of Sep. 23] Add "Restart","Shutdown","Sleep" and "Lock" to the Desktop Context Menu(VBS)

    Script Download: AddLockRestart(VBS).zip
    http://gallery.technet.microsoft.com/scriptcenter/Add-Restart-Shutdown-Sleep-dd5b6619

    The goal of this script is adding "restart", "shutdown", "sleep" and "lock" to the desktop context menu in Windows 8.

    It will be more convenient if there are "restart", "shutdown", "sleep" and "lock" in context menu.

    image image
    image

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

  • [Script of Sep. 5] Remove Notes Pages in PowerPoint (VBScript)

    Script Download: RemoveNotes.zip
    http://gallery.technet.microsoft.com/scriptcenter/Remove-Notes-Pages-in-28b70642

    This VBS demo illustrates how to remove notes pages in PowerPoint 2003 and the later version.

    Removing notes pages in PowerPoint is a frequently asked question by users in the Answers forums. For example,
    • Remove slide numbers from PowerPoint notes pages using VBA.
    • VBA shut off for PowerPoint 2007 Notes Page Header.
    image image
    image

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

  • [Script of Sep. 4] Script to fix issues described in KB947215 (PowerShell)

    Script Download: FixIssuesDescribedinKB947215(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-fix-issues-ab65f43e

    This sample can help you resolve the issue, “You receive a 'The User Profile Service failed the logon' error message”. This script shows how to list user SID information and delete invalid SID registry keys by using PowerShell Script.

    When you log on to a Windows 7-based or a Windows Vista-based computer by using a temporary profile, you receive the following error message:
    The User Profile Service failed the logon. User profile cannot be loaded.
    To resolve this issue, use the script described in this sample to remove the invalid SID registry key.
    image image
    image

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

  • [Script of Sep. 16] T-SQL script to capture topology of an AlwaysOn configuration in SQL Server

    Script Download: AlwaysOnDataCollection.zip
    http://gallery.technet.microsoft.com/T-SQL-script-to-capture-add13e98

    This T-SQL sample script quickly captures topology of an AlwaysOn configuration in SQL Server.

    Knowing a topology is a frequent ask in TechNet forums and in CSS for troubleshooting.  IT professionals want to understand the topology so as to quickly understand help in troubleshooting. There are multiple dynamic views (DMVs) to get this data so getting this data manually is possible but can take longer. This script has been tested in SQL Server 2012.
    This script queries Dynamic Management Views DMVs and draws out the AlwaysOn topology. It helps us understand the topology and displays various other details that we need to understand the issue and thus helps us to troubleshoot the issue faster.
    image image
    image

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

  • [Script of Sep. 20] Enable or disable Control Panel in windows 8 (PowerShell)

    Script Download: DisableControlPanel(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Enable-or-disable-Control-d6d33550

    The goal of this script is to enable or disable Control Panel on Windows 8.

    Sometimes administrators want to prevent the access to Control Panel for ensuring security.

    image image
    image

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