Techie solution
asked on
Powershell
Hi All,
This is a compliance issue where we need to track each and every time the user has a logon/logoff, and know the date and time.
Can I have a script whaich can be deployed through appsense instead GPO.
This is a compliance issue where we need to track each and every time the user has a logon/logoff, and know the date and time.
Can I have a script whaich can be deployed through appsense instead GPO.
This may help, can be deployed thru appsense http://appsensebigot.blogspot.co.uk/2015/10/quickpost-logging-xenapp-server-session.html?m=1
ASKER
There is no ~Custom key , what should I do now
The custom key is just an area where you write the value. Create or change it as appropriate for your environment - create it with a group policy preference if necessary.
ASKER
I dont want to include registry . I need to save the login and logoff user computername and date and time in one file.
Ok, just write the data to a file instead of to the registry using Out-File or similar cmdlet
Although that script I linked to does actually write out to a file when the user logs out
ASKER
Created the powershell script , working for domain admins but not for domain users.
Please help.
Please help.
Can you post the script you are using? Sounds like it is trying to write to HKLM or a restricted filesystem area
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The problem is the D ( dollar) share in your log file path is only accessible to administrators. Use a different share , you could simply share the d: drive again under a different share name and use that.
ASKER
what do you mean i am unable to get you.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I wrote the code.