Navigation

7/31/2017

Fixing Trust relationship has failed error - Windows

Have a number of PCs that randomly give the "Trust relationship has failed"  domain error,   to fix without leaving and rejoining domain, use these Powershell commands:

Open PowerShell as administrator. Run this command sequence:
$credential = Get-Credential – (enter domain admin account when prompted)
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere



From spiceworks



Open PowerShell as administrator. Run this command sequence:
$credential = Get-Credential – (enter domain admin account when prompted)
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere -Credential
$credential

7/26/2017

Double Coversheets Windows Print queue

We had coversheet turned on, when upgraded to Windows 10, got 2 coversheets, need to modify .SEP file on printserver: (from)

It has been a long time since I have posted but came across an issue I wanted to put out there.  I have been working on deploying Windows 8.1 at a client.  They print to printers shared from a Server 2012 virtual machine and the printer on the server has a the default windows PCL separator page file in use (C:\Windows\System32\PCL.sep).  When Windows 8 machines print to this share, the job would generate two separator pages before printing the actual file but Windows 7 machines would only generate one separator like it is supposed to.  I found a post online about it but it did not have a resolution.  In my own testing, I found that the two separator pages would show different Job Ids so I took the text of the default separator file (pcl.sep), removed "\U\LJob : \I" and saved under a new file since I could not edit the original (new file.sep or whatever you want to call it).  I pointed the server's instance of the printer to use this new file and now clients connected to this printer print one separator instead of two.

The text of the PCL.sep file:

\
\H1B\L%-12345X@PJL ENTER LANGUAGE=PCL
\H1B\L&l1T\0
\U\LUsername: \J\L\\\N
\B\S\J\U
\B\S\N\U
\0
\U\LJob : \I
\U\LDate: \D
\U\LTime: \T
\E

The text of my file fixed for Windows 8 usage:

\
\H1B\L%-12345X@PJL ENTER LANGUAGE=PCL
\H1B\L&l1T\0
\U\LUsername: \J\L\\\N
\B\S\J\U
\B\S\N\U
\0
\U\LDate: \D
\U\LTime: \T
\E

7/17/2017

File Explorer search not working for Google Drive folder


If you try searching your Google Drive folder in Windows 10, it probably does not work, to fix it:



  1. make sure security permissions for 3 users (specifically the SYSTEM group) are given FULL access to Google Folder. I'm not sure why my folder only gave my user account access. I realized this only after checking the other folders where index search was working.
FULL Control Security permissions for these 3 users
  1. Indexing is enabled for content. When Google Drive synced my files, it apparently did not set this attribute. The funny thing is that the folders were set but not the individual files inside. I'm not sure who to blame for this. So what I did was go to the Google drive folder properties, clicked on Advanced button, then unchecked "Allow files in this folder to have contents indexed in addition to file properties". After clicking all the OKs and confirming to do this to all folders and sub folders, go back to properties and enable the "Allow files in this folder..." so that it will propagate to all files inside.
Google drive Properties - Disable and enable the below checkbox for this property to copy to all files inside folder
Now Windows search is working for both normal file search and content searching.



https://superuser.com/