#210907 - 2015-11-09 03:00 PM
SET command runs slow Windows 10
|
MMoore
Just in Town
Registered: 2015-11-09
Posts: 4
Loc: NY
|
We have been using KiXtart for many years, running on Windows XP, Vista, Windows 7 & Windows 8, without any issues, script runs very fast, maybe 2 to 4 seconds to run. Recently we have upgraded a few devices to Windows 10 Enterprise. Now our Kix32 script takes about 90 seconds to run. I have narrowed it down to the "SET" command in our script file. We have 14 of them, and it takes about 85 seconds just to run those or 6 seconds each. Again, these were not an issue on any other versions of Windows that we have used these scripts on. Anyone have any ideas?
Thanks Mark
|
|
Top
|
|
|
|
#210911 - 2015-11-10 02:03 PM
Re: SET command runs slow Windows 10
[Re: Lonkero]
|
MMoore
Just in Town
Registered: 2015-11-09
Posts: 4
Loc: NY
|
I have a clean install Windows 10 Enterprise machine that I just tested this on. While it wasn't 6 seconds per SET command in my script, it still wasn't as quick as it was on any of the other OS's that we have used this on. I just tested it out and yes, it is a lot faster, almost 66% faster (takes about 2 seconds per set command). This in my opinion is too long. When I log in with the same account on any other Windows OS, the scripts takes about 1 seconds to complete.
Edited by MMoore (2015-11-10 02:04 PM)
|
|
Top
|
|
|
|
#210915 - 2015-11-11 05:31 PM
Re: SET command runs slow Windows 10
[Re: Lonkero]
|
MMoore
Just in Town
Registered: 2015-11-09
Posts: 4
Loc: NY
|
To go back to the reason, set calls windows fun too that notifies programs of settings change. The slowness/fastness is by design and only Microsoft can change it. If you want to change something faster, write the variables directly to registry.
I find that hard to believe, but it's MS, so I am not sure why I find it hard to believe. A CLEAN BUILD Windows 10 takes 2 seconds per set command, yet an Upgrade Windows 10 (from Windows 8 pro) takes 6 seconds per SET (before the upgrade, it took 0.1 seconds to run), yet, Windows 7 Pro (clean build) takes 0.1 seconds. If it was MS, then I can assume that all systems would behave similarly, yet they don't. Hopefully a solution will show up...
|
|
Top
|
|
|
|
#210919 - 2015-11-12 02:22 PM
Re: SET command runs slow Windows 10
[Re: Lonkero]
|
MMoore
Just in Town
Registered: 2015-11-09
Posts: 4
Loc: NY
|
Not avoiding the problem, but curious about your use of SET. I can't think of a single script where I have ever used it. How/Why are you using those. Maybe we can suggest a better method.
I was thinking the same thing, Allen... we use environment variables in our software (we are a software development company). These environment variables are needed for our legacy software to run correctly. So, while you might not use them, we do, and not using them should not be a reason why we notice a performance different from one OS to another on the same network/domain running the exact same script.
Dang auto correct. I can assure you "fun" was not the word written on this windows device. Anywho. You can dig deeper by testing directly from the command line and from kix during and after logon process. If it has something to do with API kixtart calls, all of these will most likely give you different times. If command line set takes forever too, then we are back to it is by design.
Windows command SetX is also very slow (6 seconds to run). I have done some digging on the web, to no avail for a solution.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 934 anonymous users online.
|
|
|