Renaming Device in Device Manager through registry Permantanly


  1. Posts : 1
    Windows 10
       #1

    Renaming Device in Device Manager through registry Permantanly


    Hello,

    I am having issues renaming device using registry editor in Windows 10.

    I am able to rename a device modifying the "FriendlyName" in these 2 registry folders by finding them with the driver key:

    Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\

    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum

    If I modify the "FriendlyName" entry in either the change is replicated in the other, After that I can scan hardware changed in device manager and the change is reflected which is great.

    but this change is not permanent. Every time the computer is shut down / rebooted the device / registry entry reverts back to the original "FriendlyName"

    How do I make this change Permanent ? I have found many tutorials / solutions on how to change the name but none address the temporary part and how it just changes back on reboot.

    Thanks in advance for your help.

    Bujanx
    Last edited by bujanx2; 23 Jul 2023 at 03:55. Reason: typo
      My Computer


  2. Posts : 17,041
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #2

    One idea would be to run a script with Task scheduler at user logon [since it will need Admin permissions, running the script at startup would be difficult if not impossible].

    You'd need to use reg commands.
    Reg - SS64
    Reg - MSLearn

    I've responded to your posted question. I have even managed to avoid saying that I think it's a complete waste of time & effort. Quite impressive, really.


    All the best,
    Denis



    Welcome to TenForums.

    It's really worth making time to browse through the Tutorial index - there's a shortcut to it at the top of every page.
    - At the foot of the Tutorial index is a shortcut to download it as a spreadsheet.
    - I download a new copy each month.
    - By downloading it as a spreadsheet I can benefit from Excel's excellent filtering capabilities when I search for topics of interest.
    - Tutorials are also listed by category at Tutorials - there's also a shortcut to that at the top of every page.
    - Both tutorial lists are searchable.
    - You can also search for TenForumsTutorials in many general search engines, such as Google, by adding site:tenforums.com/tutorials after your search term. For example,
    taskbar toolbars site:tenforums.com/tutorials

    You can search TenForums using the search box in the top-right corner of all TenForums webpages or using Advanced Search - TenForums
    - You can also search TenForums threads in many general search engines, such as Google, by adding site:tenforums.com after your search term. For example,
    Search for drivers by HardwareID site:tenforums.com
    - [This is what the search box in the top-right corner of TenForums webpages does automatically]
      My Computer


  3. Posts : 845
    Windows 10 Pro
       #3

    What are you hoping to achieve doing this. Messing with drivers is a minefield.
      My Computer


  4. Posts : 43,291
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    I found this for you, a simpler approach perhaps- before any such modifications, ensure you have an appropriate backup e.g. System restore point + recent 3rd party disk image.

    Caveat: Not tried it myself

    Hack/Change names of Devices in Device Manager .. Possible? | Tom's Hardware Forum

    Here’s how

    1. inf file

    You will need to know what driver your device is using so open device manager, go to the properties of the device you are modifying, select the details tab and scroll to "inf name" and select it.

    This will give you the name of the .inf file you are looking for so now ya gotta go find it.
    The easiest way is to find it is to unhide hidden system folders and do a plain old search otherwise it should be in c:\windows\inf

    After you find it and open it you will need to do a search within notepad for the name the device is currently called
    This should bring you to the line you need to modify. I can’t say exactly what the line of code will look like as all inf's are different depending on complexity but it will have along the lines of "DeviceDesc" at the start of the line followed by the name of the device you are looking for, It doesn’t hurt to read some of the file to get your bearings.

    Now you can replace the name in the file with whatever you like just make sure you keep the quotation marks at both ends of the name. Save the file and restart your machine.

    This will work for most of devices I’ve had some that are too complicated to bother with so in that case I registry hack is the easiest way to do it.

    2. Registry hack

    To modify the name directly from the registry (stoping the registry value from querying the .inf file for name details) you need to get the value for the driver key so again open device manager go to the properties of the device you want to modify, click details tab then scroll down to "driver key" and click it, copy the string then open reg edit and do a search for that string. It should bring you directly to the registry key you are looking for.
    You will need to delete the entire value data for the "DeviceDesc" string (you will notice it points to the .inf file for the name) and replace it with just the name you want to name your device. After you are done save, exit and reboot.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:30.
Find Us




Windows 10 Forums