Questions tagged [logoff-scripts]
The logoff-scripts tag has no usage guidance.
9
questions
10
votes
2
answers
2k
views
Warn user if they try to logoff
I want a certain local user to not log off. ever.
It's much like this silly question, however I don't necessarily care if the buttons are there, I want to pop up a messagebox that says "Please do not ...
6
votes
5
answers
4k
views
Script to kill process at logoff doesn't execute until process is dead?
We have a program that, due to memory leaks in some of the screens, doesn't exit cleanly when the user quits. The problem is that this blocks the normal logoff procedure - you select logout and a few ...
1
vote
1
answer
540
views
Power Off Monitors at Logoff
Mixed domain environment, xp, vista, 7
DC = Server 2003, 2008
Has anyone done this ? powering off the Monitor when a user shutsdown the machine or logs off ?
I have checked the GPO Setting but they ...
1
vote
1
answer
2k
views
Ninite with a logoff group policy script
I'm trying to use a batch script to automate the updates of some apps using ninite with a group policy log off script.
Here is my script:
echo Copying ninite
mkdir C:\temp
mkdir C:\temp\ninite
echo ...
1
vote
2
answers
2k
views
logoff sessions except console
There is an application in a multi-user environment that can only be open in one session on a workstation. The users move around frequently from PC to PC, leaving the application open, and the ...
0
votes
2
answers
244
views
Remove DNS logon script
I've added the a logon script for specific users so they have no access to the internet
@ECHO OFF
set vardns1=1.1.1.1
set vardns2=1.1.1.1
ECHO Setting Primary DNS
netsh int ip set dns name = "Local ...
0
votes
2
answers
2k
views
Add Group Policy by Script
I'm trying to make it easy to add a LogOff script to Group Policy and am having difficulty finding any information on adding Group Policy via script.
I already have the script I want to run at Logoff,...
0
votes
1
answer
2k
views
Login/Startup Scripts Not working
My test network setup is as follows.
A Windows 2008 R2 Server acting as a DC (AD, DNS, DHCP) it is on its own vlan (10.20.99.0/24).
I then Have two XP test computers each on there own vlan (10.20.98....
-1
votes
1
answer
511
views
Windows Server 2016 RDP - How do I get logon-/logoff-scripts for RDP-users working without a DC and without AD?
did some research on this, but could not find a solution working for this single-server-enviroment without DC and AD. The users in question are members of "local-non-admins" and "remote ...