Here are some simple steps that can help you fix the regedit setupcomplete.cmd issue.
Approved: Fortect
What miracle does SetupComplete.cmd data work after Windows install / Windows update? In fact, these are just a few standard tabs.
HKEY_LOCAL_MACHINE SYSTEM SetupCommand Line | REG_SZ | C: Windows Setup Scripts SetupComplete.cmdInstallation type | DWord | 2
When upgrading, users can use the postoobe switch to create this value elsewhere. Typically, ConfigMgr always uses its own SetupComplete.cmd file.
Now let’s think about the unsupported.
Knowing this, you have the ability to use these values for other things, especially an application or installation, and execute whatever control line you want the next time the computer starts up, before the user can easily connect. Of course, there are some programmed things that you can create or create keys, and it is also not fun to come up with other methods, and this prevents the real user from logging in until he is done.
In this example, I have created a simple fa L query and saved it in c: windows temp PreLogon with the name.cmd. I have updated these two awards.
On next restart:
Isn’t that cute? At least when it’s interesting not to understand anything other than how it works.
For more information on SetupComplete and SetupRollback, see my other articles on these web search terms.
Have you ever wondered what configuration triggers are? These are actually just a few of the settings tabs.
HKEY_LOCAL_MACHINE SYSTEM SetupCommand Line | REG_SZ | C: Windows Setup Scripts SetupComplete.cmdType ofinstallation | DWord | 2
When upgrading, you can use the postoobe switch to place any value elsewhere, which ConfigMgr can do to use its custom SetupComplete.cmd file.
If you know, you can use these values for additional things like installation, application, or any command line the next time the computer starts up, before the user can log in. Of course, there must be some scheduled tasks that you can create or drag and drop using buttons, but knowing where to go by other methods is not fun and it will most likely prevent the user from logging in until it is complete.
In this example, I created any simple batch file and placed it with c: windows temp under the nameby using PreLogon.cmd. I have updated this registry by adding more than two values.
Isn’t that funny? At least interesting, however, to understand how it works.
To learn more about SetupComplete and SetupRollback, check out my favorite articles by searching for those terms.