Solved

XP - vbscript question: set the start menu to classic

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
array6 challenfge 6 81
File.WriteAllLines problem at random C# ASP.NET 6 65
split53 challenge 7 78
How to get boolean result of md5sum from two files in powershell 8 72
A short article about a problem I had getting the GPS LocationListener working.
This is an explanation of a simple data model to help parse a JSON feed
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

911 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

22 Experts available now in Live!

Get 1:1 Help Now