Solved

XP - vbscript question: set the start menu to classic

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
withoutTen challenge 14 88
bunnyEars challenge 6 65
C# code editing and collaboration 3 49
Base1 Encode/Decode 3 35
A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now