Announcement

Collapse
No announcement yet.

Unconfigured Ad Widget

Collapse

Enables or Disables Changes to the Start Menu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Enables or Disables Changes to the Start Menu

    Here is a vbScript example by which you can Enable or Disable Changes to the Start Menu

    Open notepad, copy & paste the following code:

    Option Explicit

    Dim WSHShell, RegKey, NoChangeStartMenu, Result

    Set WSHShell = CreateObject ("WScript.Shell")

    RegKey =
    "HKCU\Software\Microsoft\Windows\CurrentVersion\Po licies\Explorer\"

    NoChangeStartMenu = WSHShell.RegRead (regkey & "NoChangeStartMenu")

    If NoChangeStartMenu = 1 Then 'Changes in Start Menu are disabled
    Result = MsgBox ("Your Start Menu is currently locked." & _
    vbNewLine & "Would you like to unlock?", 36)

    If Result = 6 Then 'if you clicked yes
    WSHShell.RegWrite regkey & "NoChangeStartMenu", 0
    End If
    Else 'Start Menu can be changed
    Result = MsgBox ("You can change start menu." & _
    vbNewLine & "Would you like to prohibit changes?", 36)
    If Result = 6 Then 'if you clicked yes
    WSHShell.RegWrite regkey & "NoChangeStartMenu", 1
    End If
    End If

    Save it
    When you run this script, it will tell you the current state of your start menu, wether it is changeable or not
    This script works as a toggle switch
    Get Latest Tricks to customise your Windows!
    Windows Registry Guide
    http://winregguide.blogspot.com/

  • #2
    Re: Enables or Disables Changes to the Start Menu

    Superb Suggestion :)

    I will test it very soon inshALLAH :)
    Allah

    Comment


    • #3
      Re: Enables or Disables Changes to the Start Menu

      thanks
      you can use the same script for other registry tweaks as well
      just the matter of changing variables only
      Get Latest Tricks to customise your Windows!
      Windows Registry Guide
      http://winregguide.blogspot.com/

      Comment


      • #4
        Re: Enables or Disables Changes to the Start Menu

        just one more thing
        this script will only work if the appropriate key is present
        in this case first create a DWord Value called "NoChangeStartMenu" at the location HKCU\Software\Microsoft\Windows\CurrentVersion\Pol icies\Explorer\
        Get Latest Tricks to customise your Windows!
        Windows Registry Guide
        http://winregguide.blogspot.com/

        Comment


        • #5
          Re: Enables or Disables Changes to the Start Menu

          yar mujhe to samajh nai aa rha k yeh code kis tarha use ho ga

          Comment


          • #6
            Re: Enables or Disables Changes to the Start Menu

            Which extension will be used for saving this code?
            Allah

            Comment


            • #7
              Re: Enables or Disables Changes to the Start Menu

              nice suggesstion...
              YOUR SIGNATURE HAS BEEN DELETED BY THE ADMIN.

              Comment


              • #8
                Re: Enables or Disables Changes to the Start Menu

                Originally posted by Nazish huma View Post
                yar mujhe to samajh nai aa rha k yeh code kis tarha use ho ga
                open your notepad

                copy & paste this code & select save as

                In save as type select "All Files"
                In File name type StartMenu.vbs

                When saved you can double click to run it
                Get Latest Tricks to customise your Windows!
                Windows Registry Guide
                http://winregguide.blogspot.com/

                Comment


                • #9
                  Re: Enables or Disables Changes to the Start Menu

                  Originally posted by Yaaram View Post
                  Which extension will be used for saving this code?
                  use .vbs extension which stands for "visual basic script"
                  Get Latest Tricks to customise your Windows!
                  Windows Registry Guide
                  http://winregguide.blogspot.com/

                  Comment


                  • #10
                    Re: Enables or Disables Changes to the Start Menu

                    this script will only work if the appropriate key is present

                    in this case first create a DWord Value called "NoChangeStartMenu" at the location HKCU\Software\Microsoft\Windows\CurrentVersion\Pol icies\Explorer\
                    Get Latest Tricks to customise your Windows!
                    Windows Registry Guide
                    http://winregguide.blogspot.com/

                    Comment


                    • #11
                      Re: Enables or Disables Changes to the Start Menu

                      :thmbup:
                      For New Designers
                      وَ بَارِکْ لِيْ فِيْمَا أَعْطَيْتَ

                      Comment

                      Working...
                      X