Jump to content

Recommended Posts

Guest Unsated3
Posted

Hello im trying to create a bat file to configure userthe userinit key under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.

 

I need it to be configured as:

 

C:\windows\system32\userinit.exe,"C:\Program Files\VMware\VMware View\Agent\bin\vmlm_helper.exe","C:\Program Files\VMware\VMware View\Agent\bin\wssm.exe","C:\CaptureService\Screen Capture Module\wcapwlistener.exe","C:\CaptureService\Screen Capture Module\wcap32.exe"

 

 

 

However when i run the follow command, all of the quotation are removed and it appears as :

 

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v userinit /t REG_SZ /d C:\windows\system32\userinit.exe,"C:\Program Files\VMware\VMware View\Agent\bin\vmlm_helper.exe","C:\Program Files\VMware\VMware View\Agent\bin\wssm.exe","C:\CaptureService\Screen Capture Module\wcapwlistener.exe","C:\CaptureService\Screen Capture Module\wcap32.exe"

 

 

Incorrect bersion here

 

C:\windows\system32\userinit.exe,C:\Program Files\VMware\VMware View\Agent\bin\vmlm_helper.exe,C:\Program Files\VMware\VMware View\Agent\bin\wssm.exe,C:\CaptureService\Screen Capture Module\wcapwlistener.exe,C:\CaptureService\Screen Capture Module\wcap32.exe

 

 

 

With the quotations removed it causes issues. Any help is appreciated, i will then deploy this out to my org using PDQ.

 

More...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...