Jump to content

renaming Start Menu options


Recommended Posts

:hello:

I wish to rename 2 specific links from within the Start Menu for my unattended cd:

Rename My Computer to 'piXel'

mycomputer1tg.gif

Rename (C:) Local Disk to 'piXel'

localdisk8as.gif

I wish to rename both of these links unattendedly, how would I go about it?

Thanks for any assistance

Edited by piXelatedEmpire
Link to comment
Share on other sites


Rename "My Computer" unattended.

Run this vbs script from RunOnceEx.

It will be the name you set in your "winnt.sif".

Const MY_COMPUTER = &H11&

Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName

Rename "Drive(s)" unattended.

Put this "reg" in your regtweaks.

It will also do your icon.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultLabel]
@="Hoved Drev"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]
@="c:\\windows\\icons\\System\\win.ico"

Both found on this site...

Edited by Lau
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...