Post Details Page

Genshin on Borderless Window & UAC Bypass

A recent issue popped up, seemingly caused by a recent Windows Update, where people in Fullscreen Mode cannot get back into the game after tabbing out


Borderless Window can fix it, but I suppose it's too lame to put on a post and clickbait for views, so I have the UAC Bypass method here as well for people finding UAC Prompt too annoying


For those wanting UAC Bypass + Borderless Window, just skip to the UAC Bypass section


Borderless Window

1. Verify Game Installation Location

You can find them in the launcher, once you've found it, open it up with a File Explorer

Do not use the Launcher Find Game Files function



2. Create Desktop Shortcut for Game Executable

In the Game Installation Location, right click GenshinImpact, Send to > Desktop (Create Shortcut)



3. Add launch parameters to shortcut

If you're familiar with launch options in Steam, you should know what these do. Basically these would allow you to run the game with certain parameters so you can control what they look like


Right click shortcut, select Properties, go to Target and add the following launch parameters

-popupwindow -screen-fullscreen 0

The above parameters will make the game to go on Borderless Window, in your monitor's native resolution up to 1920x1080 resolution

Optional screen resolution parameter:

-screen-width <width> -screen-height <height>

Make sure you put a space in front of the first argument!


The full Target should look something like this

"C:\Program Files\Genshin Impact\Genshin Impact Game\GenshinImpact.exe" -popupwindow -screen-fullscreen 0 -screen-width 1920 -screen-height 1080




You can also rename the shortcut to whatever you like. Then just launch the game through the shortcut and voila! It'll be in Borderless


How to verify this statement? Just press Windows Key and if the game doesn't minimise, you're on Borderless, easy enough


UAC Bypass

Now the complicated one, UAC Bypass. If you done this correctly you can use the same principle to bypass UAC for all other applications that you have that needs them on launch.

Note that you have to be on an 𝘼𝙙𝙢𝙞𝙣𝙞𝙨𝙩𝙧𝙖𝙩𝙤𝙧 Account for this to work


To clarify before starting, this doesn't actually remove the game from running as 𝘼𝙙𝙢𝙞𝙣𝙞𝙨𝙩𝙧𝙖𝙩𝙤𝙧, rather it only removes the prompt for you to confirm it. The game still runs as 𝘼𝙙𝙢𝙞𝙣𝙞𝙨𝙩𝙧𝙖𝙩𝙤𝙧 and if you're using applications that will hook up to the game (screen recorders, benchmark tools etc.), they will still need 𝘼𝙙𝙢𝙞𝙣𝙞𝙨𝙩𝙧𝙖𝙩𝙤𝙧 privilege to do so


1. Verify Game Installation Location

You can find them in the launcher, then remember the file path



2. Open Task Scheduler

This is the one that's giving you the power to bypass UAC, a built-in Windows utility that allows you to schedule tasks based on certain triggers


Press Windows Key, type in Task Scheduler, then open it up



3. Create New Scheduler Folder

Create a folder with any names of your liking, here I use UAC Whitelist



4. Create Scheduler Task

Create a New Task so you can schedule launching Genshin with the highest privilege (𝘼𝙙𝙢𝙞𝙣𝙞𝙨𝙩𝙧𝙖𝙩𝙤𝙧 Mode)


First go to UAC Whitelist folder, then click on Create Task on the rightmost panel

On the Create Task Popup, type in the name for the application, Genshin Impact

Tick Run with Highest Privilege, select your Windows Version on the dropdown menu, I use Windows 10 here



Then go to Actions, select New

In the Action, dropdown and select Start a program

Then click on Browse and select GenshinImpact in Game Installation Folder you have verified in step 1


Optional: Launch Parameters

You can setup launch parameters. I have Borderless Window setup here: -popupwindow -screen-fullscreen 0

You can also use custom resolution parameters: -screen-width <width> -screen-height <height>

And to your liking other launch parameters that you know that you want to mess around with

You don't need to put a space at the start of the argument



Then go to Conditions, untick Start the task only if the computer is on AC power



Go to Settings, and follow the following configuration, then click OK



5. Modify priority

Task Scheduler will always run the game on Below Normal priority, so you will suffer from some performance degradation. To solve this issue, we'll modify the launch priority


Select the Genshin Impact Task and click on Export, put it somewhere you can easily access



Then open Genshin Impact.xml with Notepad (or any text editor that you may have)

Change Priority to 4, then Ctrl + S to save



Go back to Task Scheduler, select Genshin Impact task, click on Delete



Then click on Import Task, and select Genshin Impact.xml



Then do nothing and click OK


6. Create UAC Bypass Shortcut

Last step, you have to create a shortcut to initiate the task you just created


Go to your Desktop and right click, New > Shortcut



Put this in the location of item

schtasks.exe /run /tn "\UAC Whitelist\Genshin Impact"



Click Next, then put Genshin Impact in the name



Click on Finish, then we'll work on getting the icon back

Right click Shortcut > Properties, the select Change Icon



A pop up would appear telling you that the application have no icon. Just click OK and continue on the steps


Then Browse to Game Installation Path you verified in step 1

𝙎𝙚𝙡𝙚𝙘𝙩 GenshinImpact, click OK, then select the Paimon logo, and click OK



Then, you will get yourself a UAC Bypass shortcut!

Run the shortcut when you want to play the game, and you get no more annoying UAC prompt and you run straight into the game


If you've understood how each individual steps work, you can also make other applications to launch without UAC prompt. I have also set this up for Honkai as I have done for Genshin, it's just that simple


Hope this could help any in trouble or in need, signing off


Genshin Impact Technical Self Help Resource

Wallpaper


Best Regards,

GamerYuan (when can I retire?)

Genshin Impact • Guides & Analyses
Guides & Walkthroughs
Optimization Suggestions
General Discussion
58
15
46
58
1
All comments 15

Loading...

All Tools

Recommended Users