Rename Device ID

This question is answered

Hi everyone,

I am looking for a way to allow a user to rename a device id while is running a script after booting. The scenario would be for the device to be locked up and if a user does a cold boot, when a script run, it would prompt for user to rename/name device id before fully installs and it does a warm boot...

Any ideas?

Many thanks

PS. The device that i am using is a PSION G2

Verified Answer
  • Hi Jacques,

     

    This will help, thanks for taking the time to help me out on this issue.

    Much appreciated

All Replies
  • What is the exact device model and OS type?

  • Hi Jacques,

    PSION Workabout Pro G2 and WM 6 Classic

     

    Thanks

  • Good morning Mouchel,

    As you may already know, a cold reset in Windows Mobile is identical to a warm reset, except some low level hardware (PCon) is also restarted before the operating system boots.

    Therefore, can you please re-iterate what you are hoping to achieve?

    Kind regards,
    Jacques

  • Hi,

    If a user hard resets a device, i have a script that runs automatically and installs cabs files. When all this takes place, my script ends with a warm boot, so the device will reset. After reseting, i have a software that locks down the device, so a user cannot do any damage however if a cold boot takes place, the unique device id gets reset to the default value... because i have more devices, i don't want to write diferent scripts for each device.

    So what i am looking  achieve is the following:

    While my script is running, before it run a warm boot (to reset the device and lock it down) i want for a pop up box to enable the user to name the unique device id.

    Thanks

  • For your information, the device's name is stored in the registry

    [HKLM\Ident]
    "Name" REG_SZ "WORKABOUTPRO"

    vvvv

    Additionally, let me bring this « Programmatically changing the Device Name » thread to your attention, in case it helps / inspires you.

    Regards,
    Jacques

  • Hi Jacques,

     

    This will help, thanks for taking the time to help me out on this issue.

    Much appreciated