![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
| Notices |
Windows
Windows forum sponsored by |
| | | LinkBack | Thread Tools | Search Thread | Language |
| Sponsored Links |
| | #1 |
![]() Join Date: Jun 2008
Posts: 57
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 | 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. |
| |
| | #2 |
![]() | 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 |
| |
| The Following User Says Thank You to FN-GM For This Useful Post: | Chuckster (20-08-2008) |
| | #3 |
![]() Join Date: Jun 2008
Posts: 57
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 | 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. |
| |
| | #4 |
![]() Join Date: Oct 2007 Location: Auckland, New Zealand
Posts: 1,722
Thanks: 59
Thanked 253 Times in 230 Posts
Blog Entries: 2 Rep Power: 55 | 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" |
| |
| The Following User Says Thank You to SYNACK For This Useful Post: | Chuckster (20-08-2008) |
| | #5 |
![]() Join Date: Mar 2007
Posts: 744
Thanks: 21
Thanked 32 Times in 32 Posts
Rep Power: 10 | 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. |
| |
| The Following User Says Thank You to strawberry For This Useful Post: | Chuckster (20-08-2008) |
| | #6 | |
![]() Join Date: Jun 2008
Posts: 57
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 | Quote:
Many thanks SYNACK and many thanks to FN-Greatermanchester too! | |
| |
| | #7 |
![]() Join Date: May 2007 Location: Derbyshire
Posts: 1,656
Thanks: 30
Thanked 56 Times in 49 Posts
Rep Power: 17 | Just curious did the script still run when the netlogon folder opened? |
| |
| | #8 |
![]() Join Date: Aug 2005 Location: London
Posts: 1,128
Thanks: 1
Thanked 119 Times in 104 Posts
Rep Power: 31 | 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
|
| |
| | #9 |
![]() | |
| |
| | #10 |
![]() Join Date: Jun 2008
Posts: 57
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0 | |
| |
| |
| | ||||
| 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 |
|
|






