Jump to content

Recommended Posts

Posted

The StopNetBrowse is ripping through the CPU cycles because it is running a tight loop looking for Windows containing the text '\\'.

 

All this should need is a short time delay (say 500ms) in the loop which would give the CPU time to do something else.

 

A quick look in the AutoIt help file suggests that

 

Opt("WinTitleMatchMode", 2)
Opt("TrayIconHide", 1)
while 1
if WinExists("", "\\") Then
MsgBox(4112, "Caught!", "Gotcha!", 1)
;WinKill("on", "\\")
EndIf
sleep(500)
wend

 

should do the trick.

Posted
Thanks ajbritton i thought it might be something to do with the continuous loop but did not know how to put a delay on it. Am experimenting with the 2 methods (mapped network drive or this .au3 file) to prevent users accessing network shares via the redirected start menu. I'll let everyone know what works best for me.
  • 3 weeks later...
Posted

To anyone that may be following this post just wanted to let you know that both the script and ADM template methods worked for me.

 

I ended up going for the Adm template that lets me redirect the start menu.

 

Just wanted to say a big thank you to everyone that contributed to this post.

  • 1 month later...
Posted

I have added the adm file and enabled the policy, however it is not applying to test OU that has my test pc in it. Can you spot anything in the screen dumps that could be why it is not applying?

cheers

gpo_429.jpg

Posted

I just redirect the start menu to the "K:\" drive. Unused so it's fine for this purpose. In the drive mapping registry edit in the logon script I hide the drive from my computer. Even if they do double click the start menu and then click on up, they simply get to "My Computer".

 

Tom

  • 2 weeks later...
Posted
I have added the adm file and enabled the policy, however it is not applying to test OU that has my test pc in it. Can you spot anything in the screen dumps that could be why it is not applying?

cheers

 

Is your redirected start menu at C:\temp? It's probably better to put it in a network location, share it, and them map a drive to the location. You can then hide the mapped drive in Windows.

  • 1 month later...
Posted

I just recently found edugeek .. what a find! :D

First post saying thanks so much for this custom adm. Great idea.

 

I came across this start menu issue about a month ago and have been coming back to it since.

I created a custom adm last night but i wasn't really happy with it, and i think this is a better idea.

I followed the idea of removing a couple of entries in HKLM\SOFTWARE\Classes\Folder\shell\open - which is ok but i was not happy in case of knock-on effects later on, as it removes Open option for folders. Tho at first testing it does seem to effect only the start menu ... but!

 

I'll check out this adm on Monday :) Many thanks!

  • 1 year later...
Posted (edited)

Hi

 

Sorry to dig this thread up, but i've tried the ADM way of trying to fix this problem...but it hasn't made any difference. I'm pretty sure thats its something i'm doing wrong....and i'm kinda hoping someone can steer me right.

 

So, in my test OU...i've re-directed the start menu (using the usual way of doing it in AD). I've then added in the new ADM file and enabled all 3 of the policy's to the thier default value (c:\temp)

 

Is this all i need to do? or am i missing out a key step?

 

Thanks

 

Aaron

Edited by aaronjwilkinson
Posted
Hi

 

Sorry to dig this thread up, but i've tried the ADM way of trying to fix this problem...but it hasn't made any difference. I'm pretty sure thats its something i'm doing wrong....and i'm kinda hoping someone can steer me right.

 

So, in my test OU...i've re-directed the start menu (using the usual way of doing it in AD). I've then added in the new ADM file and enabled all 3 of the policy's to the thier default value (c:\temp)

 

Is this all i need to do? or am i missing out a key step?

 

Thanks

 

Aaron

 

Did you copy the adm file into the domain controllers INF directory first before importing it. I have known this happen before when it looks like settings should be applied but they aren't on stations.

 

Shaun

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...