Jump to content

Recommended Posts

Posted
How do you get into the admin console?

 

You got an Icon in TaskBar thigny (Bottom right one, forget its name)

Right click, and a box appears :p type admin into it

 

Steve

Posted (edited)

Problem found.

 

As i said before. If i disconnect during logon it will lock the machine. But once i reconnect it auto unlocks. Then the user has full access to a machine without any group policies.

 

Also when i log off i get the attached

 

Also when i right click the icon in the system tray there are no options the menu is empty

Screen shot 2011-04-17 at 12.28.25.png

Edited by FN-GM
Posted
Problem found.

 

As i said before. If i disconnect during logon it will lock the machine. But once i reconnect it auto unlocks. Then the user has full access to a machine without any group policies.

 

Also when i log off i get the attached

 

Also when i right click the icon in the system tray there are no options the menu is empty

 

 

 

The GPOs I couldn't think of a way to do it yet, Don't have any GPOs on this machine to test for the errors :p Don't suppose you have any logs from the GPO not applying due to disconnection?

 

The icon system tray part, the "empty" is the white login box :p Click on it.

 

And logoff part, Will take a look.

 

Many thanks,

Steve

Posted (edited)

you could force a group policy refresh when the cable is plugged back in,

 

BOOL RefreshPolicyEx(

__in BOOL bMachine,

__in DWORD dwOptions

);

 

might have to roll your interop

Edited by oxide54
  • Thanks 1
Posted
The GPOs I couldn't think of a way to do it yet, Don't have any GPOs on this machine to test for the errors :p Don't suppose you have any logs from the GPO not applying due to disconnection?

 

I will have a look.

 

The icon system tray part, the "empty" is the white login box :p Click on it.

 

:doh:

Posted
you could force a group policy refresh when the cable is plugged back in,

 

But wouldn't a gpupdate /force, cause a restart to apply the computer GPOS "even" if it had them applied?

 

Steve

Posted (edited)

run without the force switch it shouldnt need a reboot.

 

If you go into the admin area. Then unselect Show NotifyIcon, how do you get back in?

 

I get these errors when i unplug the cable

Screen shot 2011-04-17 at 12.57.54.png

Screen shot 2011-04-17 at 12.58.03.png

Edited by FN-GM
  • Thanks 1
Posted
If you go into the admin area. Then unselect Show NotifyIcon, how do you get back in?

 

The short answer is you don't :p The idea was once an admin has config'd the program (on their computer), they can just send out the exe and it'll run as a student version (aka no access).

If there were any major changes aka passwords, it'd be changed on every computer so would be easier to resend exe out than manually do it. But guess if you wanted, could set a way to reaccess it?

 

This version: EduLockv4.zip

should fix the logoff problem. I had a function that doesn't allow the program to be closed (aka by a student), but forgot to allow windows to close it :D

 

Will take a look at the GPO side now,

 

Thanks all!

Steve

Posted
Something that would be really nice, to control the program with group policy :)

 

That's a cool idea. I guess the only issue (assuming you were referring to the showing of Icon etc), Is if it's defaulted to show, when GPO don't apply they'll see it. If it's default Off, without GPOs you couldn't even config the program for testing etc :p

 

Will have to take a look once I fix the GPO not applying part :D (Although I guess I could cheat, and if EduLockGPO isn't applied, that can be the clause to force update policies? hmmmmmm!)

 

Steve

Posted
If its a computer GPO is should be cached.

 

Ah.

 

Would you mind trying this version when you got a few minutes: EduLockv5.zip

 

Should force update GPO at unlock. Not sure how fast it'll update them though, (Would help if I had some GPOs here to test :D lol)

 

It's set to do computer and user, shouldn't cause any issues, but we'll see :D

 

Thanks again

 

Steve

Posted

I would like to trial this, and I really would like to adopt it when all of the wrinkles have been ironed out, but I don't think my network is a good candidate for testing.

 

However can I suggest a feature that does not seem to have been covered yet:

 

I would like to see the station automatically send an E-Mail to a nominated address [admin@school.county.sch.uk?] when connectivity is re-established stating the username logged on when connectivity was lost, when connectivity was lost and when it was re-established.

 

In that way we could try to see a trend for users who try this technique to get around network security.

 

This would be very helpful where I work.

 

Thanks.

  • Thanks 1
Posted (edited)
I would like to trial this, and I really would like to adopt it when all of the wrinkles have been ironed out, but I don't think my network is a good candidate for testing.

 

However can I suggest a feature that does not seem to have been covered yet:

 

I would like to see the station automatically send an E-Mail to a nominated address [admin@school.county.sch.uk?] when connectivity is re-established stating the username logged on when connectivity was lost, when connectivity was lost and when it was re-established.

 

In that way we could try to see a trend for users who try this technique to get around network security.

 

This would be very helpful where I work.

 

Thanks.

 

Hey,

 

Great to hear, and can certainly look at writing that into it. Or at least so it logs, and uploads it once it reconnects (Depending how fussy it is on sending mail, without inputting all my details etc :p)

 

In terms of testing it, it's pretty much testable on a standalone computer. (At least how I'm doing it currently :D) Aslong as its got a .NET framework. So any 5minutes playing with it, to iron out bugs would be great :p (For some silly reason can't update first page, but a lot more info on rest of these posts)

 

Will get to work on email side too :p Main problem being I can't really use smtp servers, else every copy needs a login. And without access kinda makes it iffy lol

 

Thanks Steve

Edited by Steve21
Posted

Just tested it on windows 7 & wireless - it appears to work as it should, I switched the wireless of via the hardware switch and the message cut in within seconds and dissapeared as soon as the wireles was switched back on :)

 

Will experiment further once I return from annual leave, looking very good so far :)

 

James

  • Thanks 1
Posted
Just tested it on windows 7 & wireless - it appears to work as it should, I switched the wireless of via the hardware switch and the message cut in within seconds and dissapeared as soon as the wireles was switched back on :)

 

Will experiment further once I return from annual leave, looking very good so far :)

 

James

 

Awesome thanks, Out of curiosity did you use the copy on front page, or one few posts up? For some reason it won't let me edit first post, so can't update it.

 

Steve

Posted

Tested here. Windows 7 x64 and works well. Only problem I had for the start was I had Virtualbox and VMWare Virtual Network Adapters enabled. After disabling these in device manager all worked fine.

Nice work:)

  • Thanks 1
Posted
Ah.

 

Would you mind trying this version when you got a few minutes: [ATTACH]9954[/ATTACH]

 

Should force update GPO at unlock. Not sure how fast it'll update them though, (Would help if I had some GPOs here to test :D lol)

 

It's set to do computer and user, shouldn't cause any issues, but we'll see :D

 

Thanks again

 

Steve

 

Been working on other things today. Will give it a test tomorrow and will report back.

  • Thanks 1
Posted
Awesome thanks, Out of curiosity did you use the copy on front page, or one few posts up? For some reason it won't let me edit first post, so can't update it.

 

Steve

 

It might be worth linking to an external source for the code so that you can update it there oppose to having it attached to the posts. there is a time limit you have when editing posts, so after a few days you won't be able to edit the post/thread in which you created.

 

James.

  • Thanks 1
Posted
Tested here. Windows 7 x64 and works well. Only problem I had for the start was I had Virtualbox and VMWare Virtual Network Adapters enabled. After disabling these in device manager all worked fine.

Nice work:)

 

Awesome thanks. Yeah Virtual adaptors (same as hamachi etc), count as always connected even if the wire isn't plugged in, as "in bad terminology" the switch is on your computer, thus never disconnected. And as such the API for checking if network available returns true :p But yeah, I'm hoping (aka. assuming :p) that majority of networks won't be using virtual adaptors on student machines. (Else might have to look into making it ignore virtual ones)

 

Been working on other things today. Will give it a test tomorrow and will report back.

 

Thanks!

 

It might be worth linking to an external source for the code so that you can update it there oppose to having it attached to the posts. there is a time limit you have when editing posts, so after a few days you won't be able to edit the post/thread in which you created.

 

James.

 

Yeah certainly will have to try to get original page editted to say such :p Never realised it locks after a certain time, was going to update it constantly. Silly me hey!

 

Thanks all,

Steve

Posted
Yeah certainly will have to try to get original page editted to say such :p Never realised it locks after a certain time, was going to update it constantly. Silly me hey!

 

Have a chat with Shaun / ZeroHour I am sure he will be able to sort it out for you.

 

James

  • Thanks 1
Guest
This topic is now closed to further replies.



×
×
  • Create New...