> how to prevent my windows machine from going idle for grokbot when I step away --- To stop your Windows machine from going idle or sleeping while running tasks like Grokbot, you can ==change your system power settings or use Microsoft's official utility==. [1, 2, 3] ## Option 1: Adjust Windows Power and Sleep Settings (Windows 11) 1. Right-click the Start button and select Settings. 2. Click System on the left menu, then select Power & battery (or just Power). 3. Click on Screen and sleep. 4. Set Turn my screen off after and Make my device sleep after to Never for both plugged-in and battery options. [3, 4] ## Option 2: Use Microsoft PowerToys Awake If you do not want to permanently change your global power plans, you can use a lightweight background tool: [1] 1. Install Microsoft PowerToys from the Microsoft Store or GitHub. 2. Enable Awake in PowerToys. 3. Click the PowerToys Awake icon in your system tray (bottom-right corner) and set the mode to Keep awake indefinitely (and optionally check the box to keep the screen on). [1, 5] If your PC is still locking or signing out after changing these settings, let me know: - Is this a company-managed / work laptop with group policies? - Are you trying to keep the screen active or just stop the PC from sleeping? [1] [https://learn.microsoft.com](https://learn.microsoft.com/en-us/windows/powertoys/awake) [2] [https://www.youtube.com](https://www.youtube.com/watch?v=Dr_6CG4ouNk) [3] [https://www.youtube.com](https://www.youtube.com/watch?v=avm2yMV1cq8&vl=en&t=7) [4] [https://www.youtube.com](https://www.youtube.com/shorts/HAXf8cWb-xA) [5] [https://www.youtube.com](https://www.youtube.com/watch?v=nBVVcNB3RU8) --- > I'm trying to keep the screen active. Actually, the screen is still on, but grokbot loses connectivity to the machine, though it is not on sleep. --- This is actually a known application-side issue with the [Grok Bot](https://docs.x.ai/grok-bot/troubleshooting) client rather than a Windows sleep setting. [1, 2] The Cursor/Grok Bot team recently confirmed that the desktop app actively monitors user activity. To save backend resources, the app puts your local connection into a standby/away state if the Grok Bot window stops being the active foreground window for about 10 minutes, or if your screen locks. Even if your PC is fully awake, your screen is on, and you are using other apps (like a web browser), the local helper pauses the connection and reports the machine as offline until you interact with the app again. [2, 3] Until a permanent auto-reconnect feature is rolled out, you can prevent this disconnect by adjusting how you leave the application when you step away: [2] ## 1. Keep Grok Bot in the Foreground Before you step away from your machine, make sure the Grok Bot window is completely maximized and actively focused (in the foreground). Do not minimize it, and do not click onto another application (even a browser window open to grok.com) as that immediately starts the idle timer. [1, 2] ## 2. Control the Machine Remotely If you need to interact with your bots while away, message them exclusively through the Grok Bot mobile app or another device, rather than keeping a web interface active on the host machine. Sending messages from your phone will continue running tasks on the host machine as long as the desktop window remains the active focus on your PC. [2] ## 3. Check Windows Lock Screen Settings If your system automatically locks when you step away, it triggers the standby state instantly. You can disable this behavior: [2] 1. Open Windows Settings -> Accounts -> Sign-in options. 2. Under Additional settings, look for _"If you've been away, when should Windows require you to sign in again?"_ and change it to Never. If you notice that the app completely vanishes or crashes instead of just saying "Reconnecting," please let me know: - What version of Grok Bot are you currently running? - Are you seeing any specific error messages like _"Can't reach screen"_ or _"SEND AFTER RECONNECT"_? /> [1] [https://forum.cursor.com](https://forum.cursor.com/t/grok-bot-0-68-1-on-mac-mini-local-computer-drops-while-idle-and-does-not-self-heal/174109) [2] [https://forum.cursor.com](https://forum.cursor.com/t/grok-bot-thinks-my-computer-is-offline-or-sleeping-but-it-is-not/174267) [3] [https://forum.cursor.com](https://forum.cursor.com/t/grok-bot-0-68-1-macos-mac-shows-disconnected-while-awake-and-in-use-local-computer-doesnt-reconnect-until-app-is-focused/174223/5) ---