Solved

XP - vbscript question: set the start menu to classic

Posted on 2006-11-21
1
842 Views
Last Modified: 2012-05-05
How can the start menu of a user be set to classic,  using vbscript ?
0
Comment
Question by:itbabe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
joachim.claeys@teleatlas.com earned 500 total points
ID: 17986498
The following VBscript forces the use of the Classic start menu for the logged on user.

If you would like to also enforce the classic start menu for all users on the machine, you could apply this change on the "HKEY_LOCAL_MACHINE" entry .

Requires log-off and logon to take effect.

'-------------------------------------------------------------------

Dim objShell, RegLocate
Set objShell = WScript.CreateObject("WScript.Shell")

On Error Resume Next
RegLocate = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoSimpleStartMenu"

objShell.RegWrite RegLocate,"1","REG_DWORD"

WScript.Quit

'-------------------------------------------------------------------

Hope this helps,
Joachim
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
A short article about a problem I had getting the GPS LocationListener working.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question