Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
piXelatedEmpire

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

Share this post


Link to post
Share on other sites

I'm unsure how you can rename my computer unattended. but to rename your drive, simply use the dos command label.

In your case: label c: piXel, where c: is your OS drive.

Share this post


Link to post
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

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×