folder redirection error desktop.ini Pattersonville New York

Address 630 Salvia Ln, Schenectady, NY 12303
Phone (518) 356-3698
Website Link

folder redirection error desktop.ini Pattersonville, New York

Just don't deny those accounts. for y = y to x Set objRootFolder = objFSO.GetFolder(usersarray(y)) Set colSubfolders = objRootFolder.SubFolders For Each objFolder in colSubfolders strfolder = usersarray(y)& "\" & ‘******************************************************************************************************** ‘* The following is copyied How do investigators always know the logged flight time of the pilots? I've adjusted it now so please try again.

Not sure exactly - but I am sure that as soon as we removed the file screen this part of the logon process went down to less than a second instead Thanks to Jay Hutter for both of those. In it, it suggests 3 options for stopping this behaviour. 1.    Put the home folder in a wrapper folder which is called the user's username, but point the Active Directory attribute Then they won't be able to read the display information and the name won't change.

More then happy to help. Run help set-executionpolicy and help about_execution_policies in your PowerShell prompt for more information. As always, backup your registry before editing. ) Cause: When a user with a home folder redirected to a network share logs in to a Windows 7 machine, windows 7 creates This will delete the file on logout.

PS: I know Roseland in Cornwall very well very nice church. However, the side effect is as above. Thanks Stein says: 03/10/2011 at 18:24 I love powershell and the issue can be resolved by using it but I solved it by using a simple batch file. I am working for a school board, and all the users home drives are set in the folder D:\users (D:\users\students, D:\users\staff, D:\users\admin staff) This program is using xcacls.vbs I wrote this

It does work and its enough to go live with our proposed folder redirection on our new terminal servers. Basically the issue presents itself more, when a user on a domain uses redirected folders, the redirected folders take on the name ‘My Documents', rather than for example, their username which Jalapeno Gio M Sep 19, 2014 at 01:51pm Thank you! Also found that users with no folder redirection would not see this.

I have been unable to determine how to stop generation of this desktop.ini file, does not seem possible. Richard.L says: 27/11/2014 at 05:52 Thanks for the info, but i did what Bob Marks did (Comment = September 28th, 2011 at 11:04 | #16) except i set "Set-ExecutionPolicy Unrestricted" then Logical fallacy: X is bad, Y is worse, thus X is not bad What happens when 2 Blade Barriers intersect? Categories Active Directory C# Certification Citrix Exchange General Stuff Hyper-V Internet Security Lync Microsoft Office Microsoft Windows Monitoring NetApp Networking Nimble Office 2007 Office 2010 Powershell Programming Rants Raspberry Pi RIS

Both 1 & 3 work nicely, but 3 seems cleaner to me as it doesn't require any extra folders creating just to get round a display issue. At least I can't think of a situation where that would be warranted...very bad practice. Patrick Timms says: 29/11/2014 at 13:25 In my opinion this is a better fix: Richard says: 01/12/2014 at 08:06 @Patrick Timms Hi Patrick, That group policy looks like it would When i log to the client, the redirection works well.

So, at the server things are good; and logged into a workstation as a domain admin, things are also good; but when I log in as a non domain admin user Steps (9 total) 1 Download The PowerShell Script and save it on the server. Richard says: 14/03/2014 at 10:14 That only works on an individual basis though. So, we are a K-12 School District.

When viewed from win2k3 or WinXP the folders are named correctly. However asample vbscript would still be appreciated as there's 200 folders in which I will need to change this. Reply Craig says: March 31, 2011 at 20:26 Great. bublbobl says: 08/08/2014 at 15:44 @Erik Thank you, I never thought of such a simple trick, fullfills my needs!

Its well commented and you should not have any problems to follow my code. If I deny access to a file for the "students" group, that will include the user who I want to see it. A desktop.ini file is created when the user first accesses their home folder to give it a friendly display name of Documents and a custom icon. Send PM 26th April 2010,03:07 PM #7 featured_spectre Join Date Nov 2008 Posts 13,083 Thank Post 1,775 Thanked 2,206 Times in 1,578 Posts Blog Entries2 Rep Power 549 Originally Posted

The time now is 10:42 PM. Adding a filename column only works for you though and not everyone else. You are correct this setting stops synchronization for all effected by the Group Policy. By PiqueABoo in forum How do you

If I turn the exclusive option off then teachers can't access the student work either because now all 1500 student folders are called "My Documents". Thank you. Thanks again for your help and quick response. Scott Networking: It's not just a job, it's an OBSSESION!

Is there something in the script I need to change? The code we used is: On Error Resume Next Set WSHShell = WScript.CreateObject("WScript.Shell") Set FSO = CreateObject("Scripting.FileSystemObject") DocsPath = WSHShell.SpecialFolders("MyDocuments") If FSO.FileExists (DocsPath & "\desktop.ini") Then   FSO.DeleteFile (DocsPath & "\desktop.ini") End Go to: Group Policy -> User Configuration -> Preferences -> Windows Settings -> Ini Files Create a new Ini File entry, with the following settings: Action: Delete File Path: %homeshare%\desktop.ini Section The best solution I have seen yet.

I have one question - if this is not the appropriate spot please let me know and I can re-post elsewhere. Ransomware that encrypts files with unique keys, DDoS malware spreads Spiceworks Originals A daily dose of today's top tech news, in brief. © Copyright 2006-2016 Spiceworks Inc. What we now think is happening is that on first logon - part of the redirection and the windows desktop update is the creation or update of the desktop.ini file on desktop.ini is hidden by default which makes it a little more tricky, but I can't see anything the users would miss with it gone; There is all of three lines of

About Slow logon, desktop.ini and folderredirection Finally solved an issue we had been facing with Slow Logons on Windows 7 machines. I did not write it. Richard Pingback: migrating users homedrives to new file server Leave a Reply Cancel reply Your email address will not be published. Option #1 is what should be done on Richard says: 05/04/2011 at 14:13 Cyprian Wyatt : A fourth option is to add the ‘Filename’ column to your Windows Explorer view.

Reply Josh Ferguson says: May 14, 2012 at 14:28 Works! Send PM 30th April 2010,09:13 AM #12 CraigM Join Date Mar 2008 Location Cape Town Posts 133 Thank Post 9 Thanked 16 Times in 16 Posts Rep Power 20 We Instead try this which will use the GetAccessControl method to specify what part of the security description you want to read (and change) Replace $Acl = Get-Acl $desktopIni.FullName With $Acl =