Recent

Author Topic: Slow application start in windows 10  (Read 11131 times)

Mando

  • Full Member
  • ***
  • Posts: 181
Slow application start in windows 10
« on: May 26, 2016, 07:08:00 pm »
Hi, all:

Rencently I updated several PC's with win7  to win10. This PC's are on a LAN. I've an application that works very well and fast when it ran on win7 but now, on win10, its start very slow.
On the LAN  are two PC's win win7 and one with XP. On this computers, my app still works fine.

The application is on one computer (as a "server" with w7) and the others have a direct link to it. It reads several files on the "server".

The application is developed in XP.

What could be the reason for this behaviour?

Regards.


Development SO: Window XP
Lazarus 1.4.4 r49931 FPC 2.6.4 i386-win32-win32/win64
« Last Edit: May 26, 2016, 09:24:33 pm by Mando »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11580
  • FPC developer.
Re: Slow application star in windows 10
« Reply #1 on: May 26, 2016, 07:12:42 pm »
95% of the cases? Antivirus.

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Slow application star in windows 10
« Reply #2 on: May 26, 2016, 07:35:29 pm »
Probably Windows 10...

Windows 10 is a trojan, the biggest I've ever seen...





Sorry, I couldn't deny myself... :-)
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

Mando

  • Full Member
  • ***
  • Posts: 181
Re: Slow application star in windows 10
« Reply #3 on: May 26, 2016, 07:46:33 pm »
 :D :D

...and What can i do?

I tried to disable Windows Defender and SmartScreen but it's the same...

 :(
 
Regards.

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Slow application star in windows 10
« Reply #4 on: May 26, 2016, 08:49:29 pm »
My first step would be to examine the whole system:

Check the services.. and shutdown (deactivate) every service you don't really need.
Check the UAC-Control or deactivate it for a short period of time to see if this changes something.
Check all the RUN-Directorys in the Registry.. or get yourself AutoRUNS (SysInternals) from MS to check this more easily.
Check every program that is working in the background.
Check all the entries in the new task scheduler.. what was the name of it ?? In german it is called "Aufgabenplanung". There are alot of entries that nobody needs.

In other words: if the OS is really responsible for that behaviour than you need to do a big cleanup...
But take care of programs that will do this automatically... better create a complete image of the HDD before that...

Good Luck... :-)

EDIT:
Or do you mean only the start of the program... so if it is running it shows the same behaviour as on XP or 7 ???
« Last Edit: May 26, 2016, 08:57:07 pm by SoE »
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

Mando

  • Full Member
  • ***
  • Posts: 181
Re: Slow application start in windows 10
« Reply #5 on: May 26, 2016, 09:31:34 pm »
Hi,

When the app is started, it works fine.
In Xp and win7, the start of app is fast (normal). It's sloooow only in win10. (the start)

I've other old app in Delphi that works  ok in xp, 7 and 10...




regards.

rvk

  • Hero Member
  • *****
  • Posts: 6264
Re: Slow application start in windows 10
« Reply #6 on: May 26, 2016, 11:40:01 pm »
If you wrote the program yourself you could build in some log-facility and write a timestamp with code-location identifier to a logfile at several different points in the startup-procedures of your program. You could examine between what point your program is slow in Windows 10.

You could also try to compile and debug your program on Windows 10 itself.

Maybe you tried to access some network location via ip or UNC which isn't allowed for that new machine in your code but it could be a million other things too.

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Slow application start in windows 10
« Reply #7 on: May 26, 2016, 11:44:03 pm »
If you got a HDD then you can try this:
First delete all old Windows-Folders (WindowsOld or something like that..) and all Cache-Folders and all Temp-Folders and..
Second do a Defragmentation of the whole HDD.

If you got a SSD then never ever do the second step!

Did you upgrade from 7 to 10... then maybe that wasn't a good idea.
Do it again, but instead of upgrading use the ISO file from MS and do a new and clean Install of Windows 10.
That should be much better...
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11580
  • FPC developer.
Re: Slow application star in windows 10
« Reply #8 on: May 27, 2016, 12:19:34 am »
:D :D

...and What can i do?

I tried to disable Windows Defender and SmartScreen but it's the same...

Flipping the switch doesn't help much, the next reboot it will just turn on again. If you have a Windows 10 Pro or better you can turn off Windows Defender over Group Policy.

If you are running "just" windows 10, then Microsoft doesn't want you to run custom software and you probably will have to consult their helpdesk, or look on the web for stuff like "nodefender"

Mando

  • Full Member
  • ***
  • Posts: 181
Re: Slow application start in windows 10
« Reply #9 on: May 27, 2016, 02:12:21 pm »
HI:

Indeed , the problem is windows defender .
I installed 360TS on computers that had the problem and now the application is opened normally . Even without any optimization or even restart . As I installed 360TS, everything is back to work. And still works after restarting .

regards.





 

TinyPortal © 2005-2018