Guys,
I already managed to get a working solution. Similar to whats posted, i wrote my own code using date diff and saving to a txt file. I first save the id of the logged out user, then on logon I compare the user id with the previous user. If the difference is 10 minutes the login session can...
If I had anything I wouldn't have posted on here. I've googled to the point of getting RSI in my hand, but can't find anything which can help even get started on what I need to do.
I can't find anything that remembers the previously logged in user, and then retains that information and blocks...
Hi all,
I am trying to work out how to prevent the same user from logging back into the same pc for 10 minutes.
We have open access pc's, and want to create a short stay environment. I have worked out a way to log a user out after a short period, but we would like to prevent the same user from...
The PCs are not in a domain, and if I wanted to use local gpedit.msc I would not have posted on here.
Just need a scripting method to run a vbscript in the background to monitor for a shutdown and logoff, when intercepted, I need it to run another vbscript.
thanks
Is it possible to intercept a Windows logout or shutdown using Vbscript.
I want to automate a logout task, so if I have a vbscript which runs at LOGON, it could run in the background and look for a windows event such as logout and shutdown and run another vbscript.
Is it possible with...
Thanks,
I've managed to get my original script working with evelated permissions in the script itself.
However what i was trying to achieve was to edit the registry to place a logoff script in it (the same way you would go to gpedit (locally) and add a logoff script under user configuration)...
Hi there,
Trying to create a registry value using vbscript on Windows 7. I am logged in as a user which is a member of the local administrators group, but when i run a vbscript to add a value under the HKLM area on the registry I get:
Permission denied, Code 800a0046 Microsoft VBScript runtime...
Hi,
I have a batch file i want to run on PCs when the user logs off or shuts down.
The PCs are NOT in a domain, so I can't use group policy.
I don't want to manually run gpedit.msc and add the batch file to users-logoff-scripts.
Is there a way to do it using vbscript which could add an...
I put in the correct command line regsvr32.exe dynwrap.DLL
but it still comes up with the same message, in the error message it refers to dynwrap.DDL, any suggestions?
Thanks for your help tsuji, however...
I have downloaded and tried to register the activex control, but get an error in Windows 7:
The module "dynwrap.ddl" was loaded but the call to DllregisterServer failed with error code 0x80004005
Hi there,
I have this script which displays a timer using a HTA script, but I can't for the life of me work out to make it stay on top of any windows that are clicked on. I need the timer to STAY ON TOP even when a user is using applications etc.
Can anyone help please?
Here's the code...
Hi all,
I'm in a bit of a pickle, got a problem with an EXE which we need to set to "Windows 2000 Compatibility Mode".
I need to update this on several hundred computers, and was planning on using Group Policy to run a VBscript on login to change the properties on a particular .exe file so...
Great idea, i like the pop up box, and the drive tray stayed out slightly longer.
Ok, one final final final query :-) This is just for added entertainment value.
I have added a script which uses the system motherboard internal speaker to "Beep" Alert the user if they get up to leave without...
Mark,
Tried that, and the script does indeed eject a DVD, however the tray closes as soon as it as opened fully, without any pause.
I've tried altering the sleep time, but no joy..
Sharpy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.