How to find verified promo codes and discount deals for Microsoft products and services?

Snatch Savings 20 Reputation points
2026-07-22T18:18:07.31+00:00

Hi Microsoft Community,

I am setting up a custom Windows Server environment for a small ecommerce business. The server is running fine overall but I am facing some issues with custom code deployment and configuration settings that I cannot figure out on my own.

The business runs two web platforms — (Links removed by Moderator. Do not recreate.)- both are deal and coupon code platforms serving users across multiple countries. The server needs to handle decent traffic load especially during peak shopping seasons when user requests spike significantly.

The specific issues I am facing:

  1. Custom scripts are not executing properly after server restart — they need to be manually triggered every time
  2. Load handling becomes inconsistent when both platforms receive traffic simultaneously
  3. Session timeout settings are not saving correctly after configuration changes

I have tried adjusting the IIS settings and checking application pool configurations but the problem persists. Is there a recommended approach for running multiple web platforms on a single Windows Server instance with shared custom code?

Any guidance from the community or Microsoft experts would be really helpful. Happy to share more details about the server setup if needed. Thanks in advance.

Windows for business | Windows Server | User experience | PowerShell

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

VPHAN 42,480 Reputation points Independent Advisor
2026-07-22T18:52:02.01+00:00

Hi Snatch Savings,

Your custom scripts failing after a restart indicates they are likely bound to a user session rather than the system kernel. You must configure these scripts in the Windows Task Scheduler, setting the trigger explicitly to run at startup and selecting the security context to run whether the user is logged on or not with the highest privileges. This ensures execution at the machine level before any administrator logs in.

The inconsistent load handling occurs because both websites are operating within the same shared Internet Information Services worker process, known as w3wp.exe. During peak traffic, they compete for the same memory space, leading to resource starvation. You must open the Internet Information Services Manager and create a dedicated Application Pool for each web platform. Assigning each site to its own pool forces the server to spin up independent w3wp.exe processes, completely isolating their CPU and memory consumption.

Your session timeout configurations are failing to save due to built-in security locks in the master configuration file located at %SystemRoot%\System32\inetsrv\config\applicationHost.config. By default, IIS prevents individual sites from overriding server-wide session policies. You must navigate to the server node in IIS Manager, open the Configuration Editor, and unlock the system.web/sessionState section. This configuration delegation will allow your site-level web.config files to successfully write and execute their specific timeout values.

Hope this answer has brought you some useful information. If it did, please hit “accept answer”. Should you have any questions, feel free to leave a comment.

VPHAN

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful