Comments (4)
Thanks for the suggestions. I'll consider this.
I was thinking of doing something similar to your second suggestion (copy/paste script), except have the agent self-installing. I did this for another project I started, and it works well.
from remotely.
Came to agree; ps1 is a PITA to get going in the bit I’ve messed with it here. :-(
from remotely.
spent about 30 minutes trying to get it to install on my laptop yesterday. was extremely annoying but happy when it finally started installing. for now, if you include on the downloads section of the server, the command you need to set up remote signing, it would help tremendously.
from remotely.
Hi,
I have written this script myself:
First it runs as administrator, then it downloads the remotely_installer.exe file and installs everything! Please change your domain and your Oranizations ID.
I hope this can help you.
### Very important !!! Please read the BAT file completely and insert your data !!!!
If you need such a script for Linux/Ubuntu/MacOS just ask !
My script:
@echo off
:: Überprüfen, ob das Skript mit Administratorrechten ausgeführt wird
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto admin ) else ( powershell -Command "Start-Process '%0' -Verb RunAs" & exit /B )
:admin
:: Setzen der ExecutionPolicy auf Unrestricted
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser -Force"
:: Herunterladen der Remotely_Installer.exe
echo Herunterladen der Remotely_Installer.exe...
curl -L -o "%USERPROFILE%\Downloads\Remotely_Installer.exe" https://[Your Remotely Domain]/Content/Remotely_Installer.exe
if %errorLevel% neq 0 (
echo Fehler beim Herunterladen der Datei.
pause
exit /b
)
:: Prüfen, ob die Datei heruntergeladen wurde
if exist "%USERPROFILE%\Downloads\Remotely_Installer.exe" (
:: Freigabe der Datei für die Ausführung ohne Warnmeldung
powershell -Command "Unblock-File -Path '%USERPROFILE%\Downloads\Remotely_Installer.exe'"
:: Ausführen der Remotely_Installer.exe
powershell -Command "Start-Process '%USERPROFILE%\Downloads\Remotely_Installer.exe' -ArgumentList '-install -organizationid [Organisation ID] -serverurl https://[Domain to your remotely]' -Verb RunAs"
if %errorLevel% neq 0 (
echo Fehler bei der Installation.
pause
exit /b
)
) else (
echo Die Datei Remotely_Installer.exe wurde nicht gefunden.
pause
exit /b
)
:: Zurücksetzen der ExecutionPolicy auf den ursprünglichen Wert
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Restricted -Scope CurrentUser -Force"
echo Installation abgeschlossen.
exit
I wrote it for myself in German, please just ignore it!
### Very important !!! Please read the BAT file completely and insert your data !!!!
If you need such a script for Linux/Ubuntu/MacOS just ask !
Regards
Daniel
from remotely.
Related Issues (20)
- High CPU, RAM and I/O usage HOT 15
- How to build HOT 1
- add certificate in remotly step by step HOT 2
- Turn off auto-update the agent on Windows HOT 1
- FEATURE REQUEST: Record the remote screen HOT 1
- Device ID is missing. Cant use Get support ! HOT 2
- How to update? look like everything has changed... HOT 2
- SSO OAUTH HOT 3
- Add More Modern TLS Support for Install-Remotely.ps1 HOT 1
- Migration from older Remotely Version to the newest one failed how to migrate DB and get login working again HOT 1
- ListView for the Home Screen HOT 4
- Docker: ResetPassword link uses wrong hostname HOT 1
- can't connect if i rename the exe HOT 2
- What's with Docker Tags? HOT 3
- Linux client installation issues. HOT 1
- Cannot Start Remote Control Session -- Manjaro KDE HOT 2
- Remotely wont run in aarch64?
- Feature Request: Software Install Component using winget or choco HOT 4
- Numlock is not writing numbers
- New install of remotely via Docker is no-go HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remotely.