Solved

XP - vbscript question: set the start menu to classic

Posted on 2006-11-21
1
840 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

809 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