Hi
I'm trying to edit registry using command line. I need command that edits certain value in registry. Problem is, when i run the command it threws out syntax error. I figured out that it is happening because the space in the registry path (...\Windows NT\...).
Is there way to fix this ?
Command here "cmd.exe /c reg ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList /t REG_EXPAND_SZ /v ProfileDirectory /d D:\Users"
Then I want to insert the command to SCCM task sequence.
Thank you.
I'm trying to edit registry using command line. I need command that edits certain value in registry. Problem is, when i run the command it threws out syntax error. I figured out that it is happening because the space in the registry path (...\Windows NT\...).
Is there way to fix this ?
Command here "cmd.exe /c reg ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList /t REG_EXPAND_SZ /v ProfileDirectory /d D:\Users"
Then I want to insert the command to SCCM task sequence.
Thank you.