I am trying to enable the telnet client on Windows 7 using this cmd line in Deploy: pkgmgr /iu:"TelnetClient"
Damell Horton
I am able to run it from my laptop with success from the cmd line but when I use the cmd function in Deploy, I receive the following error: "Package returned error code 2146498548.
Is there anything that i am doing wrong?
Damell
0
Comments
The command you posted looks fine. The error
is usually thrown because of a misspelled word. Were there other pkgmgr commands included?
If the command is correctly spelled then I would say that Telnet Client is not installed. Remember that there is a difference between having a Windows Feature Installed vs. Enabled. The parameter
is used to enable a feature. If, however, the feature hasn't been installed then this error would be thrown.
Here is a package that I used to successfully enable the Telnet Client. It simply runs a pkgmgr command using the Command step. I did set the conditions to only work on Windows Vista or higher.
Thanks for your help...the test machine that I was using did not have the feature installed. I should have checked that!