?
Solved

XP - vbscript question: set the start menu to classic

Posted on 2006-11-21
1
Medium Priority
?
848 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
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 …
Progress

770 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