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 filesexplorerPlusexplorerplus.exe, add to registry key, HKLMSoftwareMicrosoftWindowsCurrentVersionrun.

Add Powershell to startup when a user logs in, a command prompt and a powershell prompt are available to the user, HKLMSoftwareMicrosoftWindowsCurrentVersionrun.

Add SXS folder to c:windowsinstall_Source, add reg key to HKLMSoftwareMicrosoftwindowsCurrentVersionpoliciesservicing. added new string localsourcepath with the value of "c:windowsinstall_Sourcesxs"

Remove Server GUI Shell and leave Graphic Management Tools.



1.
reg add HKLMSoftwareMicrosoftWindowsCurrentVersionRun /v Exporer++ /t REG_SZ /d "C:Program filesexplorerPlusexplorerplus.exe"

2.
REG ADD HKLMSoftwareMicrosoftWindowsCurrentVersionrun /v CMD /t REG_SZ /d "C:Windowssystem32cmd.exe"

REG ADD HKLMSoftwareMicrosoftWindowsCurrentVersionrun /v POWERSHELL /t REG_SZ /d "C:WindowsSystem32WindowsPowerShellv1.0powershell.exe"

3.

REG ADD HKLMSoftwareMicrosoftwindowsCurrentVersionpolicies /v Servicing /t REG_SZ /d "C:windowsinstall_Sourcesxs"

I hope that would help.

Sudeep



1.
reg add HKLMSoftwareMicrosoftWindowsCurrentVersionRun /v Exporer++ /t REG_SZ /d "C:Program filesexplorerPlusexplorerplus.exe"

2.
REG ADD HKLMSoftwareMicrosoftWindowsCurrentVersionrun /v CMD /t REG_SZ /d "C:Windowssystem32cmd.exe"

REG ADD HKLMSoftwareMicrosoftWindowsCurrentVersionrun /v POWERSHELL /t REG_SZ /d "C:WindowsSystem32WindowsPowerShellv1.0powershell.exe"

3.

REG ADD HKLMSoftwareMicrosoftwindowsCurrentVersionpolicies /v Servicing /t REG_SZ /d "C:windowsinstall_Sourcesxs"

I hope that would help.

Sudeep



Thanks Sundeep







Share this

Related Posts

There was an error in this gadget