Jump to content

oblige administrator to tell why they open a session


Recommended Posts

Guest nicolas29
Posted

hey

when i shutdown or restart a server i m oblige to tell why that s good

 

have you a solution to do the same when one of my administrators open a

session ?

 

thanks

 

--

nt

  • Replies 10
  • Created
  • Last Reply
Guest Mathieu CHATEAU
Posted

Re: oblige administrator to tell why they open a session

 

Hello,

 

I think you can't through GPO.

 

But you can write a vbscript that will ask and then make a windows event

 

 

--

Cordialement,

Mathieu CHATEAU

English blog: http://lordoftheping.blogspot.com

French blog: http://www.lotp.fr

 

 

"nicolas29" <nt29@community.nospam> wrote in message

news:89FD1F78-C26A-45FF-985C-41ADD814FC4E@microsoft.com...

> hey

> when i shutdown or restart a server i m oblige to tell why that s good

>

> have you a solution to do the same when one of my administrators open a

> session ?

>

> thanks

>

> --

> nt

Guest Sean Cai [MSFT]
Posted

Re: oblige administrator to tell why they open a session

 

Hello,

 

I'm Sean Cai from Microsoft CIBS OS & APP team and I'll helping you on this

issue.

 

First thank to Mathieu Chateau for his key in. It's greatly appreciated!

 

You can't do that now. There isn't a group policy provides this function. A

script or a third party solution is the only choice.

 

Thank you for using newsgroup!

 

Best Regards

 

Sean Cai, MCSE2000

Microsoft Online Partner Support

 

Get Secure! - http://www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so

that others may learn and benefit from your issue.

=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Guest nicolas29
Posted

Re: oblige administrator to tell why they open a session

 

thanks to mathieu and sean for your answers

 

i knew how to do with a vbscript but i wanted something better

 

i look to the gpo

 

bye

--

nt

 

 

"Sean Cai [MSFT]" wrote:

> Hello,

>

> I'm Sean Cai from Microsoft CIBS OS & APP team and I'll helping you on this

> issue.

>

> First thank to Mathieu Chateau for his key in. It's greatly appreciated!

>

> You can't do that now. There isn't a group policy provides this function. A

> script or a third party solution is the only choice.

>

> Thank you for using newsgroup!

>

> Best Regards

>

> Sean Cai, MCSE2000

> Microsoft Online Partner Support

>

> Get Secure! - http://www.microsoft.com/security

> =====================================================

> When responding to posts, please "Reply to Group" via your newsreader so

> that others may learn and benefit from your issue.

> =====================================================

> This posting is provided "AS IS" with no warranties, and confers no rights.

>

>

>

Guest Mathieu CHATEAU
Posted

Re: oblige administrator to tell why they open a session

 

GPO can just set registry settings.

 

You may use GPO to fire something (logon script) but that's all.

 

For the logoff, it's a "builtin" feature inside explorer. You can just use

GPO to disable this feature through registry value.

 

If the feature is not in windows, GPO won't help you.

 

 

--

Cordialement,

Mathieu CHATEAU

English blog: http://lordoftheping.blogspot.com

French blog: http://www.lotp.fr

 

 

"nicolas29" <nt29@community.nospam> wrote in message

news:EB261836-8F01-44F6-826E-C6515DE86B87@microsoft.com...

> thanks to mathieu and sean for your answers

>

> i knew how to do with a vbscript but i wanted something better

>

> i look to the gpo

>

> bye

> --

> nt

>

>

> "Sean Cai [MSFT]" wrote:

>

>> Hello,

>>

>> I'm Sean Cai from Microsoft CIBS OS & APP team and I'll helping you on

>> this

>> issue.

>>

>> First thank to Mathieu Chateau for his key in. It's greatly appreciated!

>>

>> You can't do that now. There isn't a group policy provides this function.

>> A

>> script or a third party solution is the only choice.

>>

>> Thank you for using newsgroup!

>>

>> Best Regards

>>

>> Sean Cai, MCSE2000

>> Microsoft Online Partner Support

>>

>> Get Secure! - http://www.microsoft.com/security

>> =====================================================

>> When responding to posts, please "Reply to Group" via your newsreader so

>> that others may learn and benefit from your issue.

>> =====================================================

>> This posting is provided "AS IS" with no warranties, and confers no

>> rights.

>>

>>

>>

Guest nicolas29
Posted

Re: oblige administrator to tell why they open a session

 

i hoped thas was built in for the open session but not activate ...

 

so i think i will do it with a script

 

thanks

nicolas

--

nt

 

 

"Mathieu CHATEAU" wrote:

> GPO can just set registry settings.

>

> You may use GPO to fire something (logon script) but that's all.

>

> For the logoff, it's a "builtin" feature inside explorer. You can just use

> GPO to disable this feature through registry value.

>

> If the feature is not in windows, GPO won't help you.

>

>

> --

> Cordialement,

> Mathieu CHATEAU

> English blog: http://lordoftheping.blogspot.com

> French blog: http://www.lotp.fr

>

>

> "nicolas29" <nt29@community.nospam> wrote in message

> news:EB261836-8F01-44F6-826E-C6515DE86B87@microsoft.com...

> > thanks to mathieu and sean for your answers

> >

> > i knew how to do with a vbscript but i wanted something better

> >

> > i look to the gpo

> >

> > bye

> > --

> > nt

> >

> >

> > "Sean Cai [MSFT]" wrote:

> >

> >> Hello,

> >>

> >> I'm Sean Cai from Microsoft CIBS OS & APP team and I'll helping you on

> >> this

> >> issue.

> >>

> >> First thank to Mathieu Chateau for his key in. It's greatly appreciated!

> >>

> >> You can't do that now. There isn't a group policy provides this function.

> >> A

> >> script or a third party solution is the only choice.

> >>

> >> Thank you for using newsgroup!

> >>

> >> Best Regards

> >>

> >> Sean Cai, MCSE2000

> >> Microsoft Online Partner Support

> >>

> >> Get Secure! - http://www.microsoft.com/security

> >> =====================================================

> >> When responding to posts, please "Reply to Group" via your newsreader so

> >> that others may learn and benefit from your issue.

> >> =====================================================

> >> This posting is provided "AS IS" with no warranties, and confers no

> >> rights.

> >>

> >>

> >>

>

>

Guest Mathieu CHATEAU
Posted

Re: oblige administrator to tell why they open a session

 

Hello,

 

I wrote one :

'==========================================================================

'

'

' NAME: <logger.vbs>

'

' AUTHOR: Mathieu CHATEAU, gollum123@free.fr

' DATE : 11/10/2007

'

' COMMENT: <Ask a reason for logging, then keep a trace in Application

eventlog>

'

'==========================================================================

option explicit

Dim msg, objshell,UserName

Const EVENT_SUCCESS = 0

Set objShell = Wscript.CreateObject("Wscript.Shell")

 

msg = InputBox("Why are you logging?")

if msg = "" then

msg="refused to say why"

end if

 

UserName = objShell.ExpandEnvironmentStrings("%username%")

objShell.LogEvent EVENT_SUCCESS, UserName & " logged on because:" & msg

Set objShell = Nothing

'==========================================================================

 

 

--

Cordialement,

Mathieu CHATEAU

English blog: http://lordoftheping.blogspot.com

French blog: http://www.lotp.fr

 

 

"nicolas29" <nt29@community.nospam> wrote in message

news:20930929-A3DC-44BE-A0B7-58C75EA3E8DD@microsoft.com...

>i hoped thas was built in for the open session but not activate ...

>

> so i think i will do it with a script

>

> thanks

> nicolas

> --

> nt

>

>

> "Mathieu CHATEAU" wrote:

>

>> GPO can just set registry settings.

>>

>> You may use GPO to fire something (logon script) but that's all.

>>

>> For the logoff, it's a "builtin" feature inside explorer. You can just

>> use

>> GPO to disable this feature through registry value.

>>

>> If the feature is not in windows, GPO won't help you.

>>

>>

>> --

>> Cordialement,

>> Mathieu CHATEAU

>> English blog: http://lordoftheping.blogspot.com

>> French blog: http://www.lotp.fr

>>

>>

>> "nicolas29" <nt29@community.nospam> wrote in message

>> news:EB261836-8F01-44F6-826E-C6515DE86B87@microsoft.com...

>> > thanks to mathieu and sean for your answers

>> >

>> > i knew how to do with a vbscript but i wanted something better

>> >

>> > i look to the gpo

>> >

>> > bye

>> > --

>> > nt

>> >

>> >

>> > "Sean Cai [MSFT]" wrote:

>> >

>> >> Hello,

>> >>

>> >> I'm Sean Cai from Microsoft CIBS OS & APP team and I'll helping you on

>> >> this

>> >> issue.

>> >>

>> >> First thank to Mathieu Chateau for his key in. It's greatly

>> >> appreciated!

>> >>

>> >> You can't do that now. There isn't a group policy provides this

>> >> function.

>> >> A

>> >> script or a third party solution is the only choice.

>> >>

>> >> Thank you for using newsgroup!

>> >>

>> >> Best Regards

>> >>

>> >> Sean Cai, MCSE2000

>> >> Microsoft Online Partner Support

>> >>

>> >> Get Secure! - http://www.microsoft.com/security

>> >> =====================================================

>> >> When responding to posts, please "Reply to Group" via your newsreader

>> >> so

>> >> that others may learn and benefit from your issue.

>> >> =====================================================

>> >> This posting is provided "AS IS" with no warranties, and confers no

>> >> rights.

>> >>

>> >>

>> >>

>>

>>

Guest nicolas29
Posted

Re: oblige administrator to tell why they open a session

 

merci beaucoup pour le script

 

i test it and it works very well, good night

 

 

--

nt

 

 

"Mathieu CHATEAU" wrote:

> Hello,

>

> I wrote one :

> '==========================================================================

> '

> '

> ' NAME: <logger.vbs>

> '

> ' AUTHOR: Mathieu CHATEAU, gollum123@free.fr

> ' DATE : 11/10/2007

> '

> ' COMMENT: <Ask a reason for logging, then keep a trace in Application

> eventlog>

> '

> '==========================================================================

> option explicit

> Dim msg, objshell,UserName

> Const EVENT_SUCCESS = 0

> Set objShell = Wscript.CreateObject("Wscript.Shell")

>

> msg = InputBox("Why are you logging?")

> if msg = "" then

> msg="refused to say why"

> end if

>

> UserName = objShell.ExpandEnvironmentStrings("%username%")

> objShell.LogEvent EVENT_SUCCESS, UserName & " logged on because:" & msg

> Set objShell = Nothing

> '==========================================================================

>

>

> --

> Cordialement,

> Mathieu CHATEAU

> English blog: http://lordoftheping.blogspot.com

> French blog: http://www.lotp.fr

>

>

> "nicolas29" <nt29@community.nospam> wrote in message

> news:20930929-A3DC-44BE-A0B7-58C75EA3E8DD@microsoft.com...

> >i hoped thas was built in for the open session but not activate ...

> >

> > so i think i will do it with a script

> >

> > thanks

> > nicolas

> > --

> > nt

> >

> >

> > "Mathieu CHATEAU" wrote:

> >

> >> GPO can just set registry settings.

> >>

> >> You may use GPO to fire something (logon script) but that's all.

> >>

> >> For the logoff, it's a "builtin" feature inside explorer. You can just

> >> use

> >> GPO to disable this feature through registry value.

> >>

> >> If the feature is not in windows, GPO won't help you.

> >>

> >>

> >> --

> >> Cordialement,

> >> Mathieu CHATEAU

> >> English blog: http://lordoftheping.blogspot.com

> >> French blog: http://www.lotp.fr

> >>

> >>

> >> "nicolas29" <nt29@community.nospam> wrote in message

> >> news:EB261836-8F01-44F6-826E-C6515DE86B87@microsoft.com...

> >> > thanks to mathieu and sean for your answers

> >> >

> >> > i knew how to do with a vbscript but i wanted something better

> >> >

> >> > i look to the gpo

> >> >

> >> > bye

> >> > --

> >> > nt

> >> >

> >> >

> >> > "Sean Cai [MSFT]" wrote:

> >> >

> >> >> Hello,

> >> >>

> >> >> I'm Sean Cai from Microsoft CIBS OS & APP team and I'll helping you on

> >> >> this

> >> >> issue.

> >> >>

> >> >> First thank to Mathieu Chateau for his key in. It's greatly

> >> >> appreciated!

> >> >>

> >> >> You can't do that now. There isn't a group policy provides this

> >> >> function.

> >> >> A

> >> >> script or a third party solution is the only choice.

> >> >>

> >> >> Thank you for using newsgroup!

> >> >>

> >> >> Best Regards

> >> >>

> >> >> Sean Cai, MCSE2000

> >> >> Microsoft Online Partner Support

> >> >>

> >> >> Get Secure! - http://www.microsoft.com/security

> >> >> =====================================================

> >> >> When responding to posts, please "Reply to Group" via your newsreader

> >> >> so

> >> >> that others may learn and benefit from your issue.

> >> >> =====================================================

> >> >> This posting is provided "AS IS" with no warranties, and confers no

> >> >> rights.

> >> >>

> >> >>

> >> >>

> >>

> >>

>

>

Guest Mathieu CHATEAU
Posted

Re: oblige administrator to tell why they open a session

 

enjoy :)

 

 

--

Cordialement,

Mathieu CHATEAU

English blog: http://lordoftheping.blogspot.com

French blog: http://www.lotp.fr

 

 

"nicolas29" <nt29@community.nospam> wrote in message

news:264D7688-7CF4-48A6-B59C-A1A1204A1DD1@microsoft.com...

> merci beaucoup pour le script

>

> i test it and it works very well, good night

>

>

> --

> nt

>

>

> "Mathieu CHATEAU" wrote:

>

>> Hello,

>>

>> I wrote one :

>> '==========================================================================

>> '

>> '

>> ' NAME: <logger.vbs>

>> '

>> ' AUTHOR: Mathieu CHATEAU, gollum123@free.fr

>> ' DATE : 11/10/2007

>> '

>> ' COMMENT: <Ask a reason for logging, then keep a trace in Application

>> eventlog>

>> '

>> '==========================================================================

>> option explicit

>> Dim msg, objshell,UserName

>> Const EVENT_SUCCESS = 0

>> Set objShell = Wscript.CreateObject("Wscript.Shell")

>>

>> msg = InputBox("Why are you logging?")

>> if msg = "" then

>> msg="refused to say why"

>> end if

>>

>> UserName = objShell.ExpandEnvironmentStrings("%username%")

>> objShell.LogEvent EVENT_SUCCESS, UserName & " logged on because:" & msg

>> Set objShell = Nothing

>> '==========================================================================

>>

>>

>> --

>> Cordialement,

>> Mathieu CHATEAU

>> English blog: http://lordoftheping.blogspot.com

>> French blog: http://www.lotp.fr

>>

>>

>> "nicolas29" <nt29@community.nospam> wrote in message

>> news:20930929-A3DC-44BE-A0B7-58C75EA3E8DD@microsoft.com...

>> >i hoped thas was built in for the open session but not activate ...

>> >

>> > so i think i will do it with a script

>> >

>> > thanks

>> > nicolas

>> > --

>> > nt

>> >

>> >

>> > "Mathieu CHATEAU" wrote:

>> >

>> >> GPO can just set registry settings.

>> >>

>> >> You may use GPO to fire something (logon script) but that's all.

>> >>

>> >> For the logoff, it's a "builtin" feature inside explorer. You can just

>> >> use

>> >> GPO to disable this feature through registry value.

>> >>

>> >> If the feature is not in windows, GPO won't help you.

>> >>

>> >>

>> >> --

>> >> Cordialement,

>> >> Mathieu CHATEAU

>> >> English blog: http://lordoftheping.blogspot.com

>> >> French blog: http://www.lotp.fr

>> >>

>> >>

>> >> "nicolas29" <nt29@community.nospam> wrote in message

>> >> news:EB261836-8F01-44F6-826E-C6515DE86B87@microsoft.com...

>> >> > thanks to mathieu and sean for your answers

>> >> >

>> >> > i knew how to do with a vbscript but i wanted something better

>> >> >

>> >> > i look to the gpo

>> >> >

>> >> > bye

>> >> > --

>> >> > nt

>> >> >

>> >> >

>> >> > "Sean Cai [MSFT]" wrote:

>> >> >

>> >> >> Hello,

>> >> >>

>> >> >> I'm Sean Cai from Microsoft CIBS OS & APP team and I'll helping you

>> >> >> on

>> >> >> this

>> >> >> issue.

>> >> >>

>> >> >> First thank to Mathieu Chateau for his key in. It's greatly

>> >> >> appreciated!

>> >> >>

>> >> >> You can't do that now. There isn't a group policy provides this

>> >> >> function.

>> >> >> A

>> >> >> script or a third party solution is the only choice.

>> >> >>

>> >> >> Thank you for using newsgroup!

>> >> >>

>> >> >> Best Regards

>> >> >>

>> >> >> Sean Cai, MCSE2000

>> >> >> Microsoft Online Partner Support

>> >> >>

>> >> >> Get Secure! - http://www.microsoft.com/security

>> >> >> =====================================================

>> >> >> When responding to posts, please "Reply to Group" via your

>> >> >> newsreader

>> >> >> so

>> >> >> that others may learn and benefit from your issue.

>> >> >> =====================================================

>> >> >> This posting is provided "AS IS" with no warranties, and confers no

>> >> >> rights.

>> >> >>

>> >> >>

>> >> >>

>> >>

>> >>

>>

>>

Guest Sean Cai [MSFT]
Posted

Re: oblige administrator to tell why they open a session

 

Hello,

 

Thank Mathieu for the great work.

 

Although group policy takes effect mainly by changing registry keys, A few

dll files will be involved for specific tasks (ie, security settings). I

suggest you to send your requirement to MS Wish at mswish@microsoft.com and

make Windows better.

 

Have a nice day!

 

Best Regards

 

Sean Cai, MCSE2000

Microsoft Online Partner Support

 

Get Secure! - http://www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so

that others may learn and benefit from your issue.

=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Guest nicolas29
Posted

Re: oblige administrator to tell why they open a session

 

ok thanks for the informations

 

good days, nicolas

--

nt

 

 

"Sean Cai [MSFT]" wrote:

> Hello,

>

> Thank Mathieu for the great work.

>

> Although group policy takes effect mainly by changing registry keys, A few

> dll files will be involved for specific tasks (ie, security settings). I

> suggest you to send your requirement to MS Wish at mswish@microsoft.com and

> make Windows better.

>

> Have a nice day!

>

> Best Regards

>

> Sean Cai, MCSE2000

> Microsoft Online Partner Support

>

> Get Secure! - http://www.microsoft.com/security

> =====================================================

> When responding to posts, please "Reply to Group" via your newsreader so

> that others may learn and benefit from your issue.

> =====================================================

> This posting is provided "AS IS" with no warranties, and confers no rights.

>

>

>


×
×
  • Create New...