Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Rename Dell PC the Service Tag

Featured Replies

I name all my PC's on the network to the Dell Service Tag, and when I turned to RIS I found that to acheive this was rather difficult to automate. There where a few threads that explained how to pull it out using WMI or something that was hard to follow and implement. I found an easy method that I thought I would share. If this has been shared in the past please forgive me as I have not been able to find it.

My first RunOnceEx.cmd only responsibility it to rename the PC, import a second RunOnceEx.cmd, and reboot. Here is the Code:

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Customize Computer Build" /f

REG ADD %KEY%01 /VE /D "Rename PC to Dell Service Tag" /f
REG ADD %KEY%01 /V 1 /D "%systemdrive%\apps\rename\compname.exe /c ?s" /f

REG ADD %KEY%02 /VE /D "Setup Step Two" /f
REG ADD %KEY%02 /V 1 /D "%systemdrive%\apps\step2.cmd" /f

REG ADD %KEY%03 /VE /D "Reboot PC" /f
REG ADD %KEY%03 /V 1 /D "%systemdrive%\apps\reboot.cmd" /f

EXIT

In my $oem$\$1\apps folder I placed a rename folder with a program called compname.exe. Simply put /c ?s changes the name of the PC to the System Serial Number, which in Dell's Case is the Service Tag.

When my PC runs this and reboots I have a PC named ready to load apps in phase two and then join the domain using netdom.exe

For those who may need it I will attatch the compname.exe as I cannot remember where I found it, but it is freeware.

compname.zip

  • Author

Thanks Cancerface. I have been trying to find it to save it as a fav so if I ever loose it.

  • 5 months later...

Hi,

I have tryed the solution but dont work for me.

Can you please add the *.sif file and add more details please?

Thanks.

Does this work if joined to a domain? If so, its WAAAY easier than what I'm doing.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.