
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 09:45 AM
Good Morning,
i like to deploy a Software on a remote desktop server ( Windows Server 2012 R2).
I need to run the command: "change user /install", befor the install start.
The command always stops with a failure. I run the command in different versions:
- cmd.exe /c "change user /install"
- cmd.exe /k "change user /install"
- cmd /c change user /install
- cmd /k change user /install
I have no idea in which version it could work.
Thanks for your help.
Kind regards,
Matthias
i like to deploy a Software on a remote desktop server ( Windows Server 2012 R2).
I need to run the command: "change user /install", befor the install start.
The command always stops with a failure. I run the command in different versions:
- cmd.exe /c "change user /install"
- cmd.exe /k "change user /install"
- cmd /c change user /install
- cmd /k change user /install
I have no idea in which version it could work.
Thanks for your help.
Kind regards,
Matthias
Labels:
- Labels:
-
General Discussion
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 10:50 AM
Hallo,
the command "change user /install" return code is 1.
I will do it without the command, that works for most software.
Kind regards,
Matthias.
the command "change user /install" return code is 1.
I will do it without the command, that works for most software.
Kind regards,
Matthias.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 02:56 PM
Thank for the answer.
I've already tried it without cmd.
That is interesting with the success code, there I will look.
I will report to you next week.
Kind regards,
Matthias
I've already tried it without cmd.
That is interesting with the success code, there I will look.
I will report to you next week.
Kind regards,
Matthias

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 02:32 PM
Does the command work when you put it directly into CMD?
I've not tried this myself yet. Lansweeper uses lets you choose the account used for deployment with the deployment package, I don't know how this work in combination with your command.
Last thing I can think of is that the return success code of the command is not 0,1641 or 3010. Therefore, Lansweeper thinks it fails even though it doesn't. In that case you would have to add the success code to the step of the command.
I've not tried this myself yet. Lansweeper uses lets you choose the account used for deployment with the deployment package, I don't know how this work in combination with your command.
Last thing I can think of is that the return success code of the command is not 0,1641 or 3010. Therefore, Lansweeper thinks it fails even though it doesn't. In that case you would have to add the success code to the step of the command.
