Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Für bestimmten User Programm einmalig starten

Empfohlene Antworten

Veröffentlicht

Hallo.

Ich möchte für einen bestimmten User ein Programm einmalig starten. Dazu möchte ich unter Autostart ein Skript ablegen, welches folgendesmaßen funktionieren soll:

Ist der angemeldete User "%Computername%L" und die Variable LAccount ist mit 0 belegt, dann:

Führe ein bestimmtes Programm aus. Bsp.: C:\Programme\XYZ\xyz.exe

Setze die Variable LAccount auf 1. (ggf. lösche das Skript aus dem Autostart)

sonst: Ende.

Per Batch kriege ich das nicht hin und andere Sprachen kann ich net :-). Wie lässt sich mein Anliegen also am Besten realisieren?

Gruß,

Moeki.

wenns nicht zwingend der autostart sein muss, dann gibts in der Registry unter hklm\software\microsoft\windows\currentversion\ die Keys "RunOnce" und "RunOnceEx"...

das mit dem Username testen kannste vom prinzip her so machen:

if %username%== derUser start C:\programme\prog.exe

falls das reicht

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.