Jump to content

Recommended Posts

Posted

Hi

 

I am getting annoyed with the CC4 AUP feature not working. Keeps continuously popping up for users even though they agree to it and it is set to only appear once.

 

Does anyone know a a piece of software that can publish AUP's to users dependant on AD group, and log the user and date and time they last agreed it?

 

Thanks

Posted

I call a HTA using a bat, HTA creates a copy of the AUP on the users H drive, it then checks it and doesn't run again. To re run for everyone just delete the file from user areas

 

IF EXIST "h:\accept.htm" GOTO DONOWT

start \\domain\netlogon\aup\aup2.hta

:DONOWT

 

HTA is

AUP

ID="objTestHTA"

APPLICATIONNAME="J"

SCROLL="yes"

SINGLEINSTANCE="yes"

WINDOWSTATE="Maximize"

MAXIMIZEBUTTON="no"

MINIMIZEBUTTON="no"

BORDER="none"

 

>

 

Sub RunScript

Set objFSO = CreateObject("Scripting.FileSystemObject")

objFSO.CreateTextFile("H:\accept.htm")

Set objFile = objFSO.OpenTextFile("h:\accept.htm", 2)

objFile.WriteLine DataArea.InnerHTML

objFile.Close

Window.close

End Sub

 

 

 

 

ICT Code of Conduct

 

 

 

AUP HERE


 

  • Thanks 1
Posted
I call a HTA using a bat, HTA creates a copy of the AUP on the users H drive, it then checks it and doesn't run again. To re run for everyone just delete the file from user areas

 

 

 

HTA is

 

A few years back I wrote something similar, however instead of writing to a users home directory I wrote the username to a text file on the shared area once they had accepted it. The script that launched the .hta checked the file for the username as a string and didn't run if it was present. To reset you just deleted/renamed the text file.

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...