Skip to content

Commit 350a125

Browse files
committed
Merge remote-tracking branch 'upstream/main' into AB#7577-ADDS-Endless-loop-when-you-use-the-Adamsync-tool-in-Windows
2 parents 3ac3650 + 23308e5 commit 350a125

9 files changed

Lines changed: 653 additions & 69 deletions

File tree

Teams/teams-administration/include-exclude-teams-from-antivirus-dlp.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Prevent Antivirus and DLP Tools from Blocking or Crashing Microsoft Teams
33
manager: dcscontentpm
4-
ms.date: 06/06/2025
4+
ms.date: 01/05/2026
55
audience: Admin
66
ms.topic: troubleshooting
77
search.appverid:
@@ -114,6 +114,9 @@ The following table lists applications and their associated DLLs that are known
114114
| Zscaler||
115115
| Ztsment Data Protection| `injumon64.dll`|
116116
| Forcepoint DLP||
117+
| TenxGuard64 | |
118+
| Action1| `k1agentdeploycse_<architecture>.dll` |
119+
| Lenovo ThinkVantage Active Protection System - Shock Sensor Module | `Sensor64.dll` |
117120

118121
## Other DLLs that might affect Teams desktop client and Edge WebView2
119122

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Troubleshoot Capturing Elements from SAP Save As Dialog
3+
description: Resolves an issue in which the element picker can't capture elements from the SAP _Save As_ dialog box in Power Automate for desktop automation.
4+
ms.reviewer: iomimtso, ststavri, nimoutzo, v-shaywood
5+
ms.custom: sap:Desktop flows\SAP automation
6+
ms.date: 11/19/2025
7+
---
8+
# Can't capture elements from SAP Save As dialog
9+
10+
Automating SAP processes in Power Automate Desktop often involves interacting with various system dialogs, including the _Save As_ dialog. However, capturing elements from the _Save As_ dialogs by using the element picker isn't always straightforward. This article provides effective strategies and workarounds to help you automate SAP workflows that interact with the _Save As_ dialog when the standard element picker methods aren't sufficient.
11+
12+
## Symptoms
13+
14+
When you use the element picker in Power Automate for desktop, you can't capture or select any elements from the _Save As_ dialog box in SAP.
15+
16+
## Cause
17+
18+
This issue occurs when SAP shows the standard Windows _Save As_ dialog box. The standard dialog box doesn't support SAP-specific automation.
19+
20+
## Solution
21+
22+
Use one of the following workarounds based on your scenario.
23+
24+
### Disable Show Microsoft Windows dialogs
25+
26+
- If the **Show native Microsoft Windows dialogs** option is available, turn it off in the SAP GUI:
27+
28+
1. Go to **Options** > **Accessibility & Scripting** > **Scripting**.
29+
30+
1. Clear the **Show native Microsoft Windows dialogs** checkbox.
31+
32+
:::image type="content" source="media/cant-capture-element-from-save-as-popup/sap-disable-windows-dialogs.png" alt-text="Show native Microsoft Windows dialogs in SAP Settings.":::
33+
34+
1. Restart SAP.
35+
36+
- If the **Show native Microsoft Windows dialogs** option isn't available, make sure that the element picker is in the SAP context to display the custom SAP dialog box:
37+
38+
1. Open the element picker.
39+
40+
1. Before the _Save As_ dialog appears, hover over an SAP GUI element in the main SAP window. This action keeps the element picker in SAP context and lets it capture elements from the custom SAP dialog box.
41+
42+
### Use mouse and keyboard actions
43+
44+
If SAP displays the standard Windows _Save As_ dialog box instead of the custom SAP dialog box, you can automate the dialog box by using mouse and keyboard actions. For more information, see [Use mouse and keyboard actions](/power-automate/desktop-flows/actions-reference/mouseandkeyboard).
45+
46+
## Related content
47+
48+
- [Introduction to SAP GUI–based RPA in Power Automate Desktop](/power-automate/guidance/rpa-sap-playbook/introduction)
49+
50+
[!INCLUDE [Third-party disclaimer](../../../../includes/third-party-disclaimer.md)]
Loading

support/power-platform/power-automate/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ items:
8383
items:
8484
- name: Authentication popup appears when launching SAP
8585
href: desktop-flows/sap-automation/handle-authentication-popup-launch-sap.md
86+
- name: Can't capture elements from SAP Save As dialog
87+
href: desktop-flows/sap-automation/cant-capture-element-from-save-as-popup.md
8688
- name: Can't capture SAP GuiTree objects
8789
href: desktop-flows/sap-automation/cannot-capture-guitree-objects.md
8890
- name: Can't open SAP
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
title: Troubleshoot SQL Agent Startup Failures with Error 1053
3+
description: Troubleshoot SQL Server Agent Error 1053. Follow step-by-step guidance to fix registry issues and restore service functionality after Windows updates.
4+
ms.date: 12/05/2025
5+
ms.custom: sap:Startup, shutdown, restart issues (instance or database)\Database or Server is taking long time to start or shut down or restart
6+
ms.reviewer: prmadhes, v-shaywood
7+
---
8+
9+
# "Error 1053: The service did not respond to the start or control request in a timely fashion"
10+
11+
This article provides troubleshooting guidance for an issue in which the [SQL Server Agent](/ssms/agent/sql-server-agent) doesn't start, and it returns Error _1053_.
12+
13+
## Symptoms
14+
15+
When this issue occurs, you see the following symptoms:
16+
17+
- The SQL Server Agent service doesn't start after a recent Windows update is installed.
18+
- The [Windows Event Log](/windows/win32/wes/windows-event-log) service doesn't start.
19+
20+
If the SQL Server Agent doesn't start, it returns the following error message:
21+
22+
> Windows could not start the SQL Server Agent service on Local Computer.
23+
> Error 1053: The service did not respond to the start or control request in a timely fashion.
24+
25+
## Cause
26+
27+
This issue occurs if one or more registry keys under the `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` subkey use the `DWORD` type instead of the correct `REG_SZ` (string) type.
28+
29+
These invalid registry keys prevent the Windows Event Log service from starting. The SQL Server Agent depends on the Windows Event Log service. Therefore, if the Windows Event Log service is unavailable, the SQL Server Agent also doesn't start, and it returns Error _1053_.
30+
31+
> [!IMPORTANT]
32+
> If the registry key `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` doesn't exist, no event log policies are configured for your system. In that case, the solution that's provided in this article doesn't apply.
33+
34+
## Solution
35+
36+
[!INCLUDE [registry-important-alert](~/includes/registry-important-alert.md)]
37+
38+
1. Verify that the SQL Server Agent didn't start. Try to start it by using any of the following methods:
39+
- [Service Control Manager (services.msc)](/windows/win32/services/about-services)
40+
- [SQL Server Configuration Manager](/sql/tools/configuration-manager/sql-server-configuration-manager)
41+
- [Command prompt](/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services#command-prompt-window-using-net-commands)
42+
43+
```cli
44+
NET START SQLSERVERAGENT
45+
```
46+
47+
- [PowerShell](/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services#powershell)
48+
49+
```powershell
50+
Start-Service SQLSERVERAGENT
51+
```
52+
53+
1. If the SQL Server Agent starts successfully, the problem is resolved. However, if the SQL Server Agent doesn't start, and it returns Error 1053, go to the next step.
54+
1. Check the SQL Agent logs, located at `%ProgramFiles%\Microsoft SQL Server\<Instance>\MSSQL\Log\SQLAGENT.OUT`, after you try to start the SQL Server Agent. If no new entries are added to the logs, this condition confirms that the SQL Server Agent fails before initialization. Go to the next step.
55+
1. Try to start the Event Log service by running the following command in an elevated Command Prompt window:
56+
57+
```cli
58+
NET START EVENTLOG
59+
```
60+
61+
1. If the Event Log service starts successfully, the problem is resolved. However, if the Event Log service doesn't start (no logs appear when you open the [Event Viewer](/host-integration-server/core/windows-event-viewer1)) go to the next step.
62+
1. Check the Event Log folder `C:\Windows\System32\winevt\Logs` for event log files:
63+
- If the folder contains `.evtx` log files, go to the next step.
64+
- If the folder doesn't contain log files, the Windows event log might be corrupted. To troubleshoot a corrupted Windows event log, see [How to delete corrupt Event Viewer Log files](~/windows-server/application-management/delete-corrupt-event-viewer-log-files.md).
65+
1. Use the [System File Checker (SFC)](/troubleshoot/windows-server/installing-updates-features-roles/system-file-checker) to repair any corrupted system components by running the following command in an elevated Command Prompt window:
66+
67+
```cli
68+
sfc /scannow
69+
```
70+
71+
1. Create a backup of the existing registry keys before you make any registry changes. Use one of the following methods:
72+
73+
- Open [Registry Editor](~/windows-server/performance/windows-registry-advanced-users.md#use-the-windows-user-interface), right-click the `HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog` key, and then select **Export**.
74+
75+
- In an elevated Command Prompt window, run the following command:
76+
77+
```cli
78+
reg export "HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog" "<Path_To_Store_Backup>/EventLog_Backup.reg"
79+
```
80+
81+
1. Open the [Registry Editor](~/windows-server/performance/windows-registry-advanced-users.md#use-the-windows-user-interface), and navigate to `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog`.
82+
1. Under the `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` subkey and all its sub-entries:
83+
1. Identify and delete any registry values that are configured as a `DWORD` type.
84+
1. Re-create the deleted `DWORD` values by using the same name and the `REG_SZ` type.
85+
86+
1. Delete the problematic `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` subkey by running the following command:
87+
88+
```cli
89+
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog" /f
90+
```
91+
92+
1. Restart your device to let Windows re-create the event log configuration by using default settings.
93+
1. After your device restarts, start the Windows Event Log service by running the following command:
94+
95+
```cli
96+
NET START EVENTLOG
97+
```
98+
99+
The Event Log service should now start successfully.
100+
101+
1. Start the SQL Server Agent service by running the following command:
102+
103+
```cli
104+
NET START SQLSERVERAGENT
105+
```
106+
107+
The SQL Server Agent service should now start successfully.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
title: Troubleshoot Repeated SQL Server Agent Service Failures
3+
description: Resolve repeated failures of the SQL Server Agent service. Follow step-by-step solutions to fix registry issues and improve stability.
4+
ms.date: 12/04/2025
5+
ms.custom: sap:SQL Agent (Jobs, Alerts, Operators)\SQL Agent Service is unable to start, stops or restarts unexpectedly
6+
ms.reviewer: prmadhes, v-shaywood
7+
---
8+
9+
# SQL Agent service fails intermittently
10+
11+
This article provides troubleshooting guidance for an issue where the SQL Agent service repeatedly stops responding at regular intervals.
12+
13+
## Symptoms
14+
15+
The SQL Server Agent service fails intermittently on a SQL Server Always On Cluster. When the service fails, the following error message is added to the SQL Server Agent log:
16+
17+
```log
18+
[510] SQLAgent failed, dump generated in \<SQL_Instance_Log_Directory\>
19+
[LOG] Exception 29539 caught at line 233 of file sql\mpu\SqlAgent\src\autostrt.cpp. SQLServerAgent initiating self-termination.
20+
```
21+
22+
## Cause
23+
24+
These failures occur if the SQL Server Agent service doesn't retrieve the following registry subkey:
25+
26+
`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<InstanceID>\SQLServerAgent\AutoRegistryRefresh`
27+
28+
When the registry subkey retrieval fails, the SQL Server Agent service reports an exception in the log, and then it terminates itself.
29+
30+
Registry subkey retrieval can fail because of the following reasons:
31+
32+
- Antivirus or endpoint protection software that interferes with registry access
33+
- Missing or misconfigured registry keys
34+
- Transient access failures in Windows registry
35+
36+
## Solution
37+
38+
To resolve this issue, follow these steps.
39+
40+
### Step 1: Verify the registry key
41+
42+
1. Start Registry Editor (`regedit.exe`).
43+
1. Go to the following path: `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<InstanceID>\SQLServerAgent`.
44+
1. Check whether the `AutoRegistryRefresh` key exists.
45+
1. If the `AutoRegistryRefresh` key is missing, create a _DWORD (32-bit) Value_ that's named `AutoRegistryRefresh`, and set its value to `1`.
46+
47+
### Step 2: Exclude SQL Server from antivirus scanning
48+
49+
> [!IMPORTANT]
50+
> The process of adding an exclusion to your antivirus or endpoint protection software varies by publisher. Check with the publisher of your software for specific instructions.
51+
52+
1. Configure your antivirus or endpoint protection software to exclude the common SQL Server processes:
53+
- `sqlservr.exe`
54+
- `sqlagent.exe`
55+
- `ReportingServicesService.exe`
56+
- `msmdsrv.exe`
57+
- `fdlauncher.exe`
58+
- `fdhost.exe`
59+
1. Also, exclude the folder where SQL Server is installed. For example, `C:\Program Files\Microsoft SQL Server\`.
60+
61+
For more information about how to configure your antivirus or endpoint protection software to work together with SQL Server, see [Configure antivirus software to work with SQL Server](/troubleshoot/sql/database-engine/security/antivirus-and-sql-server).
62+
63+
### Step 3: Check event logs and dump files
64+
65+
Check whether the logs or the most recent SQL Agent dump file contain any new errors:
66+
67+
1. Review the SQL Server Agent logs that are located in: `<SQL_Instance_Log_Directory>\SQLAGENT.OUT\`.
68+
1. Review the Application and system logs in Event Viewer for related errors.
69+
1. Analyze the SQL Agent dump file. If multiple dump files are generated, focus on the most recent one.
70+
71+
If no new errors are reported, go to the next step. If new errors exist, repeat the previous steps, and then check the event logs and dump files again.
72+
73+
### Step 4: Restart SQL Server Agent service
74+
75+
Restart the SQL Server Agent service in order for the changes to take full effect.
76+
77+
### Step 5: Monitor stability
78+
79+
1. Monitor the SQL Server Agent logs for any recurrence of the error.
80+
1. Verify that no new dump files are generated in the log folder.

0 commit comments

Comments
 (0)