Wednesday, October 30, 2013

Finding a Networked Printer on a machine


HKEY_CURRENT_USER\Printers\Connections\server name

If  it's for a remote machine, type regedit and then connect to the machine via (File> Connect Network Registry)

Friday, October 25, 2013

Folders structure in a Distribution Point – SCCM 2012

1)   SCCM CONTENT LIB – SCCM 2012 new folder structure that contains all package files in encrypted and compressed form (download content from distribution point and run locally option).
a)   DataLib - contains .ini file which includes important information for the actual file-(Attributes, Size, Time Modified, Hash). The first four entries of the hash is the folder name for the package in the FileLib folder.
b)   FileLib - directory where all the actual files are stored, contains package in encrypted form. The .ini files contains the package ID (to track which software on SCCM and PKGlib folder) .
c)   PkgLib – contains the .ini file that shows the package ID

2)   SMS_DP$ - logs, bin & Tools
Contains distribution point log files, the files used to validate content, prestage content.

3)   SMSPKG<P>$ - EDU/SCCM 2012 package ID
Previous versions of SCCM stored content in SMSPKG folders. Even with a content library, ConfigMgr 2012 relies on the SMSPKG folder when an advertisement is set to the (Run program from distribution point option).

4)   SMSSIG$ - tar files
Used to download signatures for Microsoft Remote Differential Compression for branch distribution points when performing binary delta downloads from distribution points. It contains the package signatures to be used for branch distribution points. SMSSIG$ is created on the drive with the most free space

Thursday, October 17, 2013

Only 1 user cannot send email to a certain email

1.Open NK2 edit software
2.Open  user’s .dat (autocomplete) file in this location \\77$$$wks$$$\c$\Users\userID\AppData\Local\Microsoft\Outlook\RoamCache
3.Search for MAILTO address settings
4.Change to SMTP / or delete entry that is causing the issue
5.Before saving changes ,make sure outlook is closed
6.If cannot contact user, use right click tools and kill process for outlook.exe
7.Save the .dat files (usually there are 2 auotcomplete files, and delete the old version
8. Restart the machine and test

Windows Media Player - "server execution failed"

Method 1:
1. Click Start, click Accessories, the right click on Command Prompt and choose "run as administrator", then type regsvr32 vbcript.dll, and then hit enter.
2. Click Start, click Accessories, the right click on Command Prompt and choose "run as administrator", then type regsvr32 jscript.dll, and then hit enter.
2. Now type exit and hit enter. Now try media player and it should work.

Method 2:
Stop Windows Media Player Network Sharing service and check if it helps.
a. Click Start, type services.msc in the Start Search box, right-clickservices.msc, and then click Run as administrator.
b. Right click on Windows Media Player Network Sharing. Click onstop.

Method 3:
Run the following command in elevated command promt and check if it helps.
a) Go to Start Menu
b) Under All Programs, go toAccessories.
c) Right click on Command Promptand select Run as administrator
d) Type net localgroup "Administrators" "NT Authority\Local Service" /add
e) Press Enter.

Method 4:
Run the Windows media player troubleshooter and check.
Open the Windows Media Player Settings troubleshooter
http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Media-Player-Settings-troubleshooter

Script to reinstall SCCM 2012 client

--------------------------------

'uninstall client
-----------------
c:\windows\ccmsetup\ccmsetup.exe \uninstall


'check ccmsetup logs
--------------------
'c:\windows\ccmsetup\logs\ccmsetup.log = CcmSetup is exiting with return code 0


'delete smscfg
--------------
del C:\Windows\SMSCFG.ini


'copy client
------------
roboCOPY "\\XXXXXsccm1\e$\Program Files\Microsoft Configuration Manager\Client" c:\client
roboCOPY "\\XXXXXsccm1\e$\Program Files\Microsoft Configuration Manager\Client\i386" c:\client\i386
roboCOPY "\\XXXXXsccm1\e$\Program Files\Microsoft Configuration Manager\Client\x64" c:\client\x64


'stop services
--------------
net stop Windows Management Instrumentation


'rename repository to repository.old
------------------------------------
ren c:\windows\System32\Wbem\Repository Repository.old


'restart services
-----------------
net start Windows Management Instrumentation


'install client
---------------
c:\client\ccmsetup.exe /MP:XXXXXsccm2.gsn.local SMSMP=XXXXXsccm2.gsn.local


'check ccmsetup logs
--------------------
'c:\windows\ccmsetup\logs\ccmsetup.log = CcmSetup is exiting with return code 0


'successfull msg box
--------------------
'msgbox "SCCM Client installation Successful"

printer drivers and packages

----------------------------
printui /s /t2

1) printer not listed in list
2) printer not mapping automatically to machine
3) printer doesn't install after choosing from list, need to manualy add IP

STEP 1
------
Locate to Computer Configuration-> Administrative Templates-> Printers.
In right pane, double-click  the "Point and Print Restrictions".

In the popup window, select "Enabled", then in "Options" select "When installing drivers for a new connection:" to "Do not show warning or elevation prompt " and the "When updating drivers for existing connection:" also to " Do not show warning or elevation prompt ":

STEP 2
------
Locate to User Configuration-> Administrative Templates-> Control Panel-> Printers.
In right pane, double-click  the "Point and Print Restrictions".

Printer offline/keeps getting offline

-------------------------------------
Method 1
--------
1. Click Start, click Run, type "Services.msc" (without the quotation marks) in the open box and click OK.
2. Double-click "Printer Spooler" in the Services list.
3. Click Stop and click OK.

Method 2
--------
go to printers and devices
right click on printer
go to printer properties
go to Ports tab
with your IP highlighted select "Configure Port"
look at the SNMP Status Enabled checkbox
if checked, uncheck it