# Preconfigure desktop client

**URL:** <https://help.nextcloud.com/t/preconfigure-desktop-client/5916>\
**Category:** 💻 Desktop\
**Created:** [December 9, 2016, 10:13am UTC](https://help.nextcloud.com/t/preconfigure-desktop-client/5916 "2016-12-09T10:13:03Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Paul\_RB](https://help.nextcloud.com/letter_avatar/paul_rb/32/5_5575768a8748004e209b776fc1b2916d.png) [@Paul\_RB](https://help.nextcloud.com/u/Paul_RB)\
**Post date:** [June 16, 2021, 6:05am UTC](https://help.nextcloud.com/t/preconfigure-desktop-client/5916/20 "2021-06-16T06:05:23Z")

</div>

Just for eveyone, who is interested in the Automatisation of the installation.  
It IS possible, even without a preconfigured and payed Client.

You need to execute these CMD Commands to generate the Config File needed for the automatised installation:

@echo off

echo [General] \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo clientVersion=3.2.1stable-Win64 (build 20210428) \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo updateSegment=86 \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo \>\> C:\Users%username%.ROLFBENZ\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo [Accounts] \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\localPath=C:/Users/%username%/nextcloud/ \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\journalPath=.sync\_c58c51b03497.db \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\version=1 \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\targetPath=/ \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\url=SERVERURL \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\paused=false \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\dav\_user=%username% \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\ignoreHiddenFiles=false \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\serverVersion=20.0.9.1 \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\webflow\_user=%username% \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\virtualFilesMode=wincfapi \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\authType=webflow \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\version=3 \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\FoldersWithPlaceholders\1\navigationPaneClsid=@Variant(\0\0\0\x1e\xab\xea\xcf\x46\*\xd7MU\x8f\xef\xb1\x31\x5\xf1|\xf3) \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo 0\user=@Invalid() \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo [Settings] \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\x88\0\0\0\x37\0\0\x6z\0\0\x4\x4\0\0\x1\x89\0\0\0]\0\0\x6y\0\0\x4\x3\0\0\0\0\0\0\0\0\a\x80\0\0\x1\x89\0\0\0]\0\0\x6y\0\0\x4\x3) \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg  
echo \>\> C:\Users%username%\AppData\Roaming\Nextcloud\nextcloud.cfg

!!Replace SERVERURL with your personal Nextcloud-Url, Only works for the Client Version 3.0 and above(because Virtual Files are not available in V2.X) and has to be executed with the user, using the Client(not an admin) And the Username on windows has to be the same as the Username on Nextcloud!!

---

_[View the full topic](https://help.nextcloud.com/t/preconfigure-desktop-client/5916)._
