Guest Unsated3 Posted November 9, 2019 Posted November 9, 2019 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... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.