# Fresh Gitea Installation on Windows Server 2012, but Cannot Push

**URL:** <https://forum.gitea.com/t/fresh-gitea-installation-on-windows-server-2012-but-cannot-push/1197>\
**Category:** Install/Maintain/Configure\
**Created:** [May 28, 2019, 4:45pm UTC](https://forum.gitea.com/t/fresh-gitea-installation-on-windows-server-2012-but-cannot-push/1197 "2019-05-28T16:45:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjmw](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@mjmw](https://forum.gitea.com/u/mjmw)\
**Post date:** [May 28, 2019, 4:45pm UTC](https://forum.gitea.com/t/fresh-gitea-installation-on-windows-server-2012-but-cannot-push/1197/1 "2019-05-28T16:45:43Z")

</div>

I’m new to Gitea and I’m testing whether it can be used as an on-premise repo for projects in our organisation.

Version [1.8.1](https://dl.gitea.io/gitea/1.8.1/) is setup and running on Windows Server 2012 R2 [set up to run as a service](https://docs.gitea.io/en-us/windows-service/) with MS SQL Server 2017 being used for the database, and is being run with an Active Directory user account.

It loads, it runs, it looks great.

However, after creating a repo, any attempt at pushing to it, even with a new project with only a README.md, it yields the following:

```auto
$ git push -u origin master
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (6/6), 499 bytes | 166.00 KiB/s, done.
Total 6 (delta 0), reused 0 (delta 0)
To http://devsvr:3000/username/something.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://devsvr:3000/username/something.git'

```

Researching this error has revealed that it may be a configuration or script issue. However, I’m not sure how to resolve this issue.

Any help and advice in resolving this issue is most welcome.
