Windows 10: Reg to Bat


  1. Posts : 176
    Windows 10 Enterprise x64 1709
       03 Dec 2015 #1

    Reg to Bat


    Hi everyone,
    I'm so sorry if this is not the proper forum to ask, but didn't found one for registry related questions.
    I have a small .reg file and I have converted it to .bat using a tool and am not sure if it's converted correctly and bug free!
    Is there anyone expert in this thing wish to help me and notify me of any mistakes/problems in the conversion, if any?
    Thanks a lot, it's vital to me :)

    Setup.reg
    Setup2.bat
      My ComputerSystem Spec

  2.    04 Dec 2015 #2

    Why convert to .bat ??

    just need to double click to install
      My ComputerSystem Spec


  3. Posts : 176
    Windows 10 Enterprise x64 1709
    Thread Starter
       04 Dec 2015 #3

    double click to install ???!!!
    Did you even read my question?
    I just want to know if my reg to bat was error free?
      My ComputerSystem Spec

  4. TairikuOkami's Avatar
    Posts : 3,419
    10.6 Home 1809 x64
       04 Dec 2015 #4

    Seems fine to me. I use Reg Converter , which tool have you used
      My ComputerSystem Spec


  5. Posts : 176
    Windows 10 Enterprise x64 1709
    Thread Starter
       04 Dec 2015 #5

    Thanks, same tool, I was checking here since that's pretty important to me!
    I had doubt about these 2 lines as well:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
    "{F764812A-132C-4013-9960-5CBBEB408A0E}"=-

    to:

    REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /v "{F764812A-132C-4013-9960-5CBBEB408A0E}" /f

    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f
      My ComputerSystem Spec


  6. Posts : 176
    Windows 10 Enterprise x64 1709
    Thread Starter
       04 Dec 2015 #6

    or

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Nero\Nero 10\Shared]
    "SendUsageStatistics"=dword:00000000
    @=""

    to

    REG add "HKLM\SOFTWARE\Wow6432Node\Nero\Nero 10\Shared" /v "SendUsageStatistics" /t REG_DWORD /d "0" /f
    REG add "HKLM\SOFTWARE\Wow6432Node\Nero\Nero 10\Shared" /ve /t REG_SZ /d "" /f
      My ComputerSystem Spec

  7. TairikuOkami's Avatar
    Posts : 3,419
    10.6 Home 1809 x64
       04 Dec 2015 #7

    omidsolo said: View Post
    @=""
    This is the reason, why I was looking for a tool like that.
    I could not figure out, how to add an empty value.


    omidsolo said: View Post
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f
    This one seems unnecessary, since you would have to delete the whole key, not just a single value, like:

    REG delete [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
      My ComputerSystem Spec


 

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 14:15.
Find Us