ChrisMiles
Members-
Posts
410 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by ChrisMiles
-
[ACCESS] Requirements for A2 exam, Need to know how...
ChrisMiles replied to Oaktech's topic in Office Software
Horray for teaching kids the wrong way to do stuff... In order to achieve this you'd have to create a separate auto id field in the table to generate the numerical part of the ID and then on the data entry form create a custom field which appends the characters and the ID together and displays it. Nothing in what you posted says that the StudentID in the described form must be held in the database, just displayed on the form, so the auto id field makes your rows unique and the student ID can be "generated" on the fly on the form. -
You can run explorer with an elevated account in Windows 7 as well. Start > All Programs > Accessories > Shift+Right-Click Windows Explorer > Run as a different user.
-
[sims] Optimising Edit Marks (Lesson Monitor)
ChrisMiles replied to Gongalong's topic in MIS Systems
If running the queries maxes out the CPU then providing more resources for your server will obviously speed up the process. I know you cannot increase the number of processors on a hyper-v guest to more than 4 which might mean that you should either get faster processors for your hyper-v host or run the sims database on a physical server. While I am sure that the sims client struggling to handle all the data is a large part of the problem, there is still time to be saved on the database backend. Our marks tables contain millions of rows and from since forever. Its possible the query is overly complex or the indexing in the database is incorrect or insufficient. There are loads of ways I could suggest to improve IO performance for sims in hyper-v but it doesn't sound like an IO problem since the cpus are maxing out. The sims database is overly convoluted in several areas including marks and since none of the data ever seems to get archived out of the day-to-day working tables it doesnt take too long before the simplest reg marks query can have to search through millions and millions of rows every time. Its a shame you can't really run the sql profiler on the query and see what's really holding you up. SO anywya, since fiddling round with the indexing of the sims database is likely to get your support cancelled if nothing else there's not much you can do except for throw more resources at the server and the client. -
Removing DELETE permissions, but not removing tmp files
ChrisMiles replied to NeilCotton's topic in Windows
It wont affect undo/redo at all, you can open office documents from locations where you only have read access without creating a temp file and undo/redo works perfectly fine. -
Try uninstalling flash and reinstalling it? I've never encountered this problem. Sounds like IE doesnt think flash is actulaly installed. Do you roll out flash using msi install through group policy?
-
Removing DELETE permissions, but not removing tmp files
ChrisMiles replied to NeilCotton's topic in Windows
I think you can use file screening to prevent certainly office programs from creating the temporary files at all. If you block .tmp files or ~*.* files they wont be created which I don't believe actually impacts usability. -
I assume you've restarted after applying this setting?
-
The group policy option is: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options > User Account Control: Behavior of elevation prompt for administrators in Admin Approval Mode set this setting to "Elevate without prompting" to disable UAC.
-
Is there a script or GPO setting to clean out local profiles?
ChrisMiles replied to speckytecky's topic in Windows 7
Don't use scripts that delete the folder and registry entries, its a dirty hack, this script removes user profiles older than the specified number of days using the Win32_UserProfiles namespace functions, allowing windows to do the work the right way. On Error Resume Next Dim objFSO, objWMIService, strComputer, strFilter, intMaxProfileAge, colProfiles, objProfile, dtmLastUseTime strComputer = "." strFilter = "SID Like ""S-1-5-21%"" And Not LocalPath Like ""%Administrator%""" intMaxProfileAge = 14 Set objFSO = CreateObject("Scripting.FileSystemObject") Set objWMIService = GetObject("Winmgmts:\\" & strComputer & "\root\cimv2") Set colProfiles = objWMIService.ExecQuery("Select * From Win32_UserProfile Where " & strFilter) If Not colProfiles Is Nothing Then For Each objProfile in colProfiles dtmLastUseTime = CDate(Mid(objProfile.LastUseTime, 7, 2) & "/" & Mid(objProfile.LastUseTime, 5, 2) & "/" & Left(objProfile.LastUseTime, 4) & " " & Mid (objProfile.LastUseTime, 9, 2) & ":" & Mid(objProfile.LastUseTime, 11, 2) & ":" & Mid(objProfile.LastUseTime, 13, 2)) MsgBox DateDiff("d", dtmLastUseTime, Date) If DateDiff("d", dtmLastUseTime, Date) > intMaxProfileAge Then Err.Clear objProfile.Delete_ If Err.Number = -2147024809 Then 'Profile in use, skipping. ElseIf Err.Number = -2147024751 Then objFSO.DeleteFolder objProfile.LocalPath, True ElseIf Err.Number <> 0 Then '"Error: " & Err.Number & ": " & Err.Description Else 'Profile Deleted. End If End If Next End If -
You can do it pretty easily with any scripting language, heres an example in powershell. I didn't test it that much function New-ArchiveFolder() { param($SourceFolder, $DestFolder) $folder = New-Object PSObject $folder | Add-Member -Type NoteProperty -Name Source -Value $SourceFolder $folder | Add-Member -Type NoteProperty -Name Destination -Value $destFolder return $folder } # Array of archive folders to process for archving $archiveFolders = @( (New-ArchiveFolder -SourceFolder "C:\Intel" -DestFolder "C:\Archive\Intel") ) # Minimum age in days of files to be archived $minArchiveAge = 30 foreach ($archiveFolder in $archiveFolders) { if (!(Test-Path $archiveFolder.Source)) { continue } $sourceFolderUri = New-Object System.Uri("$($archiveFolder.Source)\") $files = (Get-ChildItem -Path $archiveFolder.Source -Recurse | where { !$_.PsIsContainer -and (((Get-Date) - $_.LastAccessTime).Days -ge $minArchiveAge) }) if (!$files) { continue } foreach ($file in $files) { $fileName = $file.Name $filePath = $file.DirectoryName $filePathUri = New-Object System.Uri("$filePath\") $archivePathUri = $sourceFolderUri.MakeRelativeUri($filePathUri) $archivePath = "$($archiveFolder.Destination)\$($archivePathUri.ToString())" if (!(Test-Path $archivePath)) { New-Item $archivePath -Type Directory } $file.MoveTo("$archivePath\$fileName") } }
-
Thanks OB1. Seem to have a bit of a problem with the regex though, PMed you details.
-
Chrome runs multiple instances in W7 Ultimate x64
ChrisMiles replied to Dos_Box's topic in Windows 7
Its not a problem. Chrome runs 1 process as like the "manager" process, then 1 process per tab and in addition it can run additional processes to isolate plugins and certain web page elements like videos, applets and even flash objects. Its a pretty cleaver way to improve browsing security. -
I know its been a while but I wonder if Jedi Master OB1 could explain where/how you might add a policy to do this regex replace in the new version of smoothwall. Not quite sure which is the right place to do it. thanks
-
On the contrary you shouldn't even use the default domain policy except perhaps to set the account security settings and even then you can set that from other GPOs now. Keep the default domain policy as default as possible and configure new GPOs to store your settings in a logical way which makes it obvious what they do. With regard to which policies wins, policies in the same level of the AD tree can be ordered using the group policy inheritance. 1 is the highest ranking. If GPOs are in different levels/OUs then the GPO lower down the tree takes precedence over any higher in the tree. You can block inheritance on an OU to prevent GPOs higher in the tree from affecting objects in and below that OU and you can enforce specific GPOs to prevent their settings from being overwritten by lower down GPOs.
-
Start Menu Redirection works but shows additional shortcuts...
ChrisMiles replied to Sam_Brown's topic in Windows
The group policy setting User Configuration > Policies > Administrative Templates > Start Menu and Taskbar > Remove common program groups from Start Menu will remove the global shortcuts. -
Have you tried it with 1 stick of memory in only, that fixed the stability problems on the dodgy motherboard i had.
-
Fog 0.29 will image windows 7 perfectly fine using Single Partition (Resizable) to big and small disks. You havnt done anything daft like force windows 7 to install without the 100mb system partition have you? Fog handles this 2 partition setup automatically when set to Windows 7 by using a special type of disk image that is resizeable (because fog knows the small partition is fixed size). If you have done this try setting it to windows xp mode or rebuild your image with the system partition intact.
-
I'm going to go out on a limb and say I am fairly sure that you will have to rebuild the arrays. Personally I would rebuild them anyway, and besides, even if the raid doesnt fall over it's unlikely windows would even boot due to having no drivers installed for the controller card. Edit: I didn't think about doing what ^that^ guy said, if you install the drivers 1st it could work
-
If your other identical setup is fine then this is almost certainly a faulty motherboard. Get the company who sold it to you to replace it (dont let them make you rma it, its their responsibility not yours -- see regulations on statutory rights). This happened to me recently, bought 3 new gigabyte x58a-ud-3r boards, 1st one out the box was blue screening like crazy, spent hours trying to fix it before i tried the other 2 boards which worked fine, got a replacement and no issues at all.
-
[fog] unable to join domain with new computers
ChrisMiles replied to browolf's topic in O/S Deployment
We had this exact same problem with the fog service. Its a timing issue of some kind. My investigations showed that the fog service started before the network was fully up for some reason and this caused it to not function correctly. In the end I fixed it by changing the fog service to Automatic (Delayed) which delays the start of the service by approx 2 mins. -
There is no flaw, we map several drives to DFS shares on user logon using group policy preferences. It must be something to do with your setup.
-
In windows 7 you can place a file in c:\windows\setup\scripts\setupcomplete.cmd to run commands after sysprep, not sure if it works with windows xp. Can't you disable system restore using group policy?
-
I did this with one of our VMs once when I was setting up the system, I could not fix it. Even when I attached the VHD to a new VM it wouldn't work properly because all the virtual devices are different. Ended up having to rebuild it. Fortunately it was only 1 server. I hope someone else can help you avoid doing the same.
-
Windows 2008 r2 is build off the windows 7 core, whereas 2008 is from the vista core << biggest reason to upgrade if you ask me
