Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Notices

Windows

Windows forum sponsored by

For all of your Windows problems

Go Back   EduGeek.net Forums > Technical > Windows
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 15-08-2008, 05:17 PM   #1
 
Chuckster's Avatar
 
Join Date: Jun 2008
Posts: 57
uk uk england
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 Chuckster is an unknown quantity at this point
Default NETLogon Folder

Whenever a user logs on the NETLOGON folder appears. I'm stumped as to why this happens. Can anyone tell me how I can prevent this folder appearing when a user logs on to the network?

Just to mention, when an admin logs on the folder doesn't appear. When a non-administrator logs on (could be teaching staff etc) it appears.

Any suggestions will be welcomed.

Many thanks in advance.
  Reply With Quote
Old 15-08-2008, 05:20 PM   #2
 
FN-GM's Avatar
 
Join Date: Jun 2007
Location: Rochdale, Lancashire
Posts: 4,927
uk
Thanks: 157
Thanked 162 Times in 156 Posts
Rep Power: 38 FN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to behold
Send a message via Skype™ to FN-GM
Default

I had this issue a while back.

On the logon scripts in both group policy and the individual user accounts, check there are no spaces at the end or begging on the script path. Also check there is a field simply with a space in and nothing else.

Z
  Reply With Quote
The Following User Says Thank You to FN-GM For This Useful Post:
Chuckster (20-08-2008)
Old 20-08-2008, 01:44 PM   #3
 
Chuckster's Avatar
 
Join Date: Jun 2008
Posts: 57
uk uk england
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 Chuckster is an unknown quantity at this point
Default

Hi,

I'm not sure what you mean by the beginning and end of the script path. Could you elaborate more on that, please?

As far as the filenames go, they have no spaces inbetween them.
  Reply With Quote
Old 20-08-2008, 02:02 PM   #4
 
SYNACK's Avatar
 
Join Date: Oct 2007
Location: Auckland, New Zealand
Posts: 1,722
newzealand
Thanks: 59
Thanked 253 Times in 230 Posts
Blog Entries: 2
Rep Power: 55 SYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud ofSYNACK has much to be proud of
Send a message via MSN to SYNACK
Default

Quote:
Originally Posted by Chuckster View Post
Hi,

I'm not sure what you mean by the beginning and end of the script path. Could you elaborate more on that, please?

As far as the filenames go, they have no spaces inbetween them.
He means in the places like the active directory user object profiles tab or in gp where the files are pointed to. I.e. " global.vbs" or "global.vbs " in the logon script box instead of just "global.vbs"
  Reply With Quote
The Following User Says Thank You to SYNACK For This Useful Post:
Chuckster (20-08-2008)
Old 20-08-2008, 02:09 PM   #5
 
strawberry's Avatar
 
Join Date: Mar 2007
Posts: 744
Thanks: 21
Thanked 32 Times in 32 Posts
Rep Power: 10 strawberry has a spectacular aura aboutstrawberry has a spectacular aura about
Default

double check the logon scripts of people who do have this problem and compare them to people that dont have this problem. also check the permissions on any files in the netlogon folder that people will access.
  Reply With Quote
The Following User Says Thank You to strawberry For This Useful Post:
Chuckster (20-08-2008)
Old 20-08-2008, 02:12 PM   #6
 
Chuckster's Avatar
 
Join Date: Jun 2008
Posts: 57
uk uk england
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 Chuckster is an unknown quantity at this point
Default

Quote:
Originally Posted by SYNACK View Post
He means in the places like the active directory user object profiles tab or in gp where the files are pointed to. I.e. " global.vbs" or "global.vbs " in the logon script box instead of just "global.vbs"
Oh, right. I've just checked the AD and in the profile tab --> login script path, there was a space. I've removed that space and every user account that now logs onto the network doesn't get the NETLOGON folder popping up.

Many thanks SYNACK and many thanks to FN-Greatermanchester too!

  Reply With Quote
Old 20-08-2008, 02:42 PM   #7
 
cookie_monster's Avatar
 
Join Date: May 2007
Location: Derbyshire
Posts: 1,656
uk uk england
Thanks: 30
Thanked 56 Times in 49 Posts
Rep Power: 17 cookie_monster is a jewel in the roughcookie_monster is a jewel in the roughcookie_monster is a jewel in the roughcookie_monster is a jewel in the rough
Default

Just curious did the script still run when the netlogon folder opened?
  Reply With Quote
Old 20-08-2008, 02:56 PM   #8
 
srochford's Avatar
 
Join Date: Aug 2005
Location: London
Posts: 1,128
uk
Thanks: 1
Thanked 119 Times in 104 Posts
Rep Power: 31 srochford is a splendid one to beholdsrochford is a splendid one to beholdsrochford is a splendid one to beholdsrochford is a splendid one to beholdsrochford is a splendid one to beholdsrochford is a splendid one to behold
Default

Depending on how many people you might have with this problem, it sounds like something where a script will work wonders :-)

the following script queries AD for a list of all users who have a script set for them. It then loops through and checks to see if the script has a space at start or end (checks to see if the trimmed name is not the same as the untrimmed name). If they're different then it resets the script.

Code:
sLogFile="C:\temp\problems.csv"

Set oFSO=wscript.createobject("scripting.filesystemobject")
set oFile=ofso.createtextfile(sLogFile,true)
Set oRootDSE=GetObject("LDAP://RootDSE")
sRoot=oRootDSE.Get("DefaultNamingContext")

Set oConn = CreateObject("ADODB.Connection")
oConn.Provider = "ADsDSOObject"
oConn.Open
Set oCommand = CreateObject("ADODB.Command")
oCommand.ActiveConnection = oConn
oCommand.properties("Page Size")=100

oCommand.CommandText = "<LDAP://" & sRoot & ">;(&(objectCategory=person)(scriptpath=*));sAMAccountName,scriptpath,distinguishedname;subTree"
Set oRS = oCommand.Execute
Do While Not oRS.EOF
  sUsername=oRS("sAMAccountName")
  sLoginScript=ors("scriptpath")
  if sLoginScript<>trim(sLoginScript) then
    wscript.echo sUserName & ",>" & sLoginScript & "<"
    set oUser=getobject("LDAP://" & ors("distinguishedname"))
    oUser.scriptpath=trim(sLoginScript)
    oFile.writeline sUserName & ",>" & sLoginScript & "<"
  end if
  oRS.MoveNext
Loop
oFile.close
  Reply With Quote
Old 20-08-2008, 03:05 PM   #9
 
FN-GM's Avatar
 
Join Date: Jun 2007
Location: Rochdale, Lancashire
Posts: 4,927
uk
Thanks: 157
Thanked 162 Times in 156 Posts
Rep Power: 38 FN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to beholdFN-GM is a splendid one to behold
Send a message via Skype™ to FN-GM
Default

Quote:
Originally Posted by cookie_monster View Post
Just curious did the script still run when the netlogon folder opened?
I think he had them set by group policy and the space on the user account was an error.
  Reply With Quote
Old 21-08-2008, 12:36 PM   #10
 
Chuckster's Avatar
 
Join Date: Jun 2008
Posts: 57
uk uk england
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 Chuckster is an unknown quantity at this point
Default

Quote:
Originally Posted by cookie_monster View Post
Just curious did the script still run when the netlogon folder opened?
The scripts that I had setup in the logon part of the GPO did still run even when the NETLOGON folder popped up.
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
NETLOGON folder opens when admin logs on FN-GM Windows 28 13-03-2008 11:35 AM
sporadic netlogon service problems browolf Windows 7 29-02-2008 05:54 PM
Remove NETLOGON folder robbied69 Windows 7 15-02-2008 12:50 PM
Missing Netlogon Service BKGarry Windows 0 30-06-2006 09:42 AM
Netlogon error dezt Networks 20 09-02-2006 05:01 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 09:06 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net