Windows registry commands

Does anyone knows the Windows command line for the following:  Thanks.

Add 64 bit explorer++ to image. Its location is C:\Program files\explorerPlus\explorerplus.exe, add to registry key, HKLM\Software\Microsoft\Windows\CurrentVersion\run.

Add Powershell to startup when a user logs in, a command prompt and a powershell prompt are available to the user, HKLM\Software\Microsoft\Windows\CurrentVersion\run.

Add SXS folder to c:\windows\install_Source\, add reg key to HKLM\Software\Microsoft\windows\CurrentVersion\policies\servicing. added new string localsourcepath with the value of "c:\windows\install_Source\sxs"

Remove Server GUI Shell and leave Graphic Management Tools.
Who is Participating?
Sudeep SharmaConnect With a Mentor Technical DesignerCommented:
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v Exporer++ /t REG_SZ /d "C:\Program files\explorerPlus\explorerplus.exe"

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\run /v CMD /t REG_SZ /d "C:\Windows\system32\cmd.exe"

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\run /v POWERSHELL /t REG_SZ /d "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"


REG ADD HKLM\Software\Microsoft\windows\CurrentVersion\policies /v Servicing /t REG_SZ /d "C:\windows\install_Source\sxs"

I hope that would help.

zman2013Author Commented:
Thanks Sundeep
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.