Tikejhya: Ashish Nepal

Knowledgebase

Category: Windows Server 2008

bat script to turn off thunderbird chat

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

@ECHO OFF
C:WINDOWSsystem32findstr “Profiles” “%APPDATA%Thunderbirdprofiles.ini” > “%APPDATA%Thunderbirdtemp.ini”
set /p DUSER=<“%APPDATA%Thunderbirdtemp.ini”
FOR /F “tokens=2 delims=/” %G IN (“%DUSER%”) DO ECHO %G>”%APPDATA%Thunderbirdtemp.ini”
set /p DUSER=<“%APPDATA%Thunderbirdtemp.ini”
echo user_pref(“mail.chat.enabled”, false); >> “%APPDATA%ThunderbirdProfiles%DUSER%prefs.js”

How to Force Proxy Settings Via Group Policy on all browsers

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

How to Force Proxy Settings Via Group Policy on all browsers

How to Force Proxy Settings Via Group Policy on all browsers
i.e. Google Chrome, firefox , IE

This article describes how to force proxy settings via Group Policy.

Click Start – All programs – Administrative Tools – Group Policy Management.
Create or Edit Group Policy Objects.

[I would recommend doing a new group policy object]

Expand User configuration – Policies – Windows Settings – Internet Explorer Maintenance – Connection.
In right Pane Proxy Settings.

For some security reasons maybe administrator need to prevent end users from change their proxy settings.
You can do it with group policy follow this steps:

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Click Start – All programs – Administrative Tools – Group Policy Management.
Create or Edit Group Policy Objects.
Expand Computer Configuration – Administrative Templates – Windows Components - Internet Explorer – Internet Control Panel
In right Pane Disable the Connections page (Enabled)

Now this above given would help you doing for IE, but how to force proxy settings via Group policy on Google Chrome

Google has provided policy tamplate,

http://www.chromium.org/administrators/policy-templates

And so is provided by Firefox aswell.

http://sourceforge.net/projects/firefoxadm

How to add firefox/ google adm templates

Expand the “Computer Configuration” level in the tree. for the Group policy object that you want to edit.
Right-click on “Administrative Templates” and select “Add/Remove Templates”.
Click the “Add”

Enabling RDP and local login (Windows Server 2008)

Create a group policy
Add certain user.
Add user to remote desktop user

(This alone might not allow you to login remotely..)
If that prompts message enable , blah blah virtual terminal

Go to gpedit.msc
add remote login

How to MOVE/COPY Users SharedFolder (Windows SBS Server 2008)

How to MOVE/COPY Windows SBS Server 2008 Shared User Folder
How to manually move shared folders
how to migrate users profile from one drive to another.

Firstly: First Lock shared folder.

Robocopy C:USERS_SHARED D:NEW_LOCATION /COPYALL /MIR /DCOPY:T /E /R:0

or

Robocopy C:USERS_SHARED D:NEW_LOCATION /COPY:DATSOU /MIR /DCOPY:T /E /R:0

Copy directory recursively (/E)
copy all file information (/COPYALL)
/COPY:DATSOU, D=Data, A=Attributes, T=Timestamps, S=Security=NTFS ACLs, O=Owner info, U=aUditing info)
do not retry locked files (/R:0)
(the number of retries on failed copies default value is 1 million)
preserve original directories’ Timestamps (/DCOPY:T)

This will definately work “saying” to Copy folder/files, timestamp, permisions and all. However, it is not yet tested if all of roaming profile will be working or not.

(You can find detailed Ref: http://technet.microsoft.com/en-us/library/cc733145%28WS.10%29.aspx)
And (http://technet.microsoft.com/en-us/library/cc875789%28v=ws.10%29.aspx)

Powered by WordPress & Theme by Anders Norén