Jump to content

Recommended Posts

Posted (edited)

: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

Posted

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.

Posted (edited)

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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